diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f9e383c70..889a15b112 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 5.2.0 + +Migrate to KSP 2 (#1393) + # 5.1.4 Change the way the Compose interop works to avoid Android 12 bug (#1370) diff --git a/RELEASING.md b/RELEASING.md index ed1cff40ae..ee01241461 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -6,7 +6,7 @@ Releasing 3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the version you set in step 1) 4. Add your sonatype login information under gradle properties mavenCentralUsername and mavenCentralPassword in your local user gradle.properties file 5. Make sure you have a gpg signing key configured (https://vanniktech.github.io/gradle-maven-publish-plugin/central/#secrets) -5. `./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache` to build the artifacts and publish them to maven +5. Run `./gradlew publish` to build the artifacts and publish them to maven 7. Open PR on Github, merge, and publish release through Github UI. Publishing a release to an internal repository diff --git a/build.gradle b/build.gradle index c45cfa1279..0d6f2bf6cb 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ buildscript { classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:$KOTLIN_VERSION" // Upload with: (see RELEASING.md) // ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache - classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0' + classpath 'com.vanniktech:gradle-maven-publish-plugin:0.35.0' // Dokka is needed on classpath for vanniktech publish plugin classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10" } diff --git a/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityChanged.java b/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityChanged.java index ace3feeb74..c4d8241d76 100644 --- a/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityChanged.java +++ b/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityChanged.java @@ -16,9 +16,9 @@ * int visibleHeight, int visibleWidth * )` *

- * The equivalent methods on the model is {@link com.airbnb.epoxy.EpoxyModel#onVisibilityChanged} + * The equivalent methods on the model is com.airbnb.epoxy.EpoxyModel#onVisibilityChanged *

- * @see OnModelVisibilityChangedListener + * See also: OnModelVisibilityChangedListener */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.CLASS) diff --git a/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityStateChanged.java b/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityStateChanged.java index 579e968d0e..8b03643f4d 100644 --- a/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityStateChanged.java +++ b/epoxy-annotations/src/main/java/com/airbnb/epoxy/OnVisibilityStateChanged.java @@ -13,12 +13,12 @@ * `@OnVisibilityStateChanged * public void method(@Visibility int state)` *

- * Possible States are declared in {@link com.airbnb.epoxy.VisibilityState}. + * Possible States are declared in com.airbnb.epoxy.VisibilityState. *

* The equivalent methods on the model is - * {@link com.airbnb.epoxy.EpoxyModel#onVisibilityStateChanged} + * com.airbnb.epoxy.EpoxyModel#onVisibilityStateChanged *

- * @see OnModelVisibilityStateChangedListener + * See also: OnModelVisibilityStateChangedListener */ @SuppressWarnings("JavadocReference") @Target(ElementType.METHOD) diff --git a/gradle.properties b/gradle.properties index 9e67de8af9..f52b4854de 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=5.1.4 +VERSION_NAME=5.2.0 GROUP=com.airbnb.android POM_DESCRIPTION=Epoxy is a system for composing complex screens with a ReyclerView in Android. POM_URL=https://github.com/airbnb/epoxy @@ -22,8 +22,9 @@ org.gradle.caching=true org.gradle.configuration-cache=true # Publishing configuration for vanniktech/gradle-maven-publish-plugin -SONATYPE_HOST=DEFAULT -SONATYPE_AUTOMATIC_RELEASE=true +mavenCentralPublishing=true +RELEASE_SIGNING_ENABLED=true +mavenCentralAutomaticPublishing=true # Dokka fails without a larger metaspace https://github.com/Kotlin/dokka/issues/1405 org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=2g