Skip to content

Commit

Permalink
Prepare for release 5.0.0 (#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart authored Sep 29, 2022
1 parent aceb43b commit 85f3cfc
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 20 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Note that unfortunately the databinding processor does NOT support KSP, simply b

Also, parallel processing support was removed because it is not compatible with KSP.

We have also added easy interop with Jetpack Compose via functions in the `epoxy-composeinterop` artifact.
See the epoxy-composesample module for example usage.

# 4.6.4 (September 23, 2021)
- Clean up dependency for the experimental epoxy module

Expand Down
12 changes: 6 additions & 6 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Releasing
========

1. Bump the VERSION_NAME property in `gradle.properties` based on Major.Minor.Patch naming scheme
2. Update `CHANGELOG.md` for the impending release.
3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the version you set in step 1)
4. `./gradlew clean uploadArchives --no-daemon --no-parallel`
5. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact.
6. Open PR with on Github, merge, and publish release through Github UI.
1. Bump the VERSION_NAME property in `gradle.properties` based on Major.Minor.Patch naming scheme
2. Update `CHANGELOG.md` for the impending release.
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. `./gradlew publish` to build the artifacts and publish them to maven
7. Open PR on Github, merge, and publish release through Github UI.
12 changes: 6 additions & 6 deletions blessedDeps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ rootProject.ext.JAVA_SOURCE_VERSION = JavaVersion.VERSION_1_8
rootProject.ext.JAVA_TARGET_VERSION = JavaVersion.VERSION_1_8

rootProject.ext.TARGET_SDK_VERSION = 30
rootProject.ext.COMPILE_SDK_VERSION = 32
rootProject.ext.COMPILE_SDK_VERSION = 33
rootProject.ext.MIN_SDK_VERSION = 14
rootProject.ext.COMPOSE_MIN_SDK_VERSION = 21

rootProject.ext.ANDROIDX_ANNOTATION = "1.2.0"
rootProject.ext.ANDROIDX_APPCOMPAT = "1.2.0"
rootProject.ext.ANDROIDX_ANNOTATION = "1.5.0"
rootProject.ext.ANDROIDX_APPCOMPAT = "1.5.1"
rootProject.ext.ANDROIDX_CARDVIEW = "1.0.0"
rootProject.ext.ANDROIDX_CORE_KTX = "1.3.2"
rootProject.ext.ANDROIDX_DATABINDING_ADAPTERS = "3.2.1"
Expand All @@ -42,7 +42,7 @@ rootProject.ext.GLIDE_VERSION = "4.12.0"
rootProject.ext.GOOGLE_TESTING_COMPILE_VERSION = "0.19"
rootProject.ext.INCAP_VERSION = "0.3"
rootProject.ext.JUNIT_VERSION = "4.13.1"
rootProject.ext.KOTLIN_COROUTINES_VERSION = "1.6.3"
rootProject.ext.KOTLIN_COROUTINES_VERSION = "1.6.4"
rootProject.ext.KOTLINX_METADATA = "0.5.0"
rootProject.ext.LOTTIE_VERSION = "2.8.0"
rootProject.ext.MOCKITO_VERSION = "3.7.7"
Expand All @@ -51,8 +51,8 @@ rootProject.ext.ROBOLECTRIC_VERSION = "4.5.1"
rootProject.ext.SQUARE_JAVAPOET_VERSION = "1.13.0"
rootProject.ext.SQUARE_KOTLINPOET_VERSION = "1.12.0"
rootProject.ext.COMPOSE_COMPILER_VERSION = "1.2.0"
rootProject.ext.COMPOSE_VERSION = "1.2.0"
rootProject.ext.COMPOSE_ACTIVITY_VERSION = "1.5.0"
rootProject.ext.COMPOSE_VERSION = "1.2.1"
rootProject.ext.COMPOSE_ACTIVITY_VERSION = "1.6.0"
rootProject.ext.KOTLINX_LIFECYCLE_RUNTIME_VERSION = "2.3.0"
rootProject.ext.KSP_VERSION = "1.7.0-1.0.6"
rootProject.ext.XPROCESSING_VERSION = "2.5.0-alpha02"
Expand Down
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:$ANDROID_PLUGIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
// Upload with:
// ./gradlew clean uploadArchives --no-daemon --no-parallel
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
// Upload with: (see RELEASING.md)
// ./gradlew publish
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0'
// Dokka is needed on classpath for vanniktech publish plugin
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.5.31"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10"
}
}

plugins {
id 'com.github.ben-manes.versions' version '0.38.0'
// Run ./gradlew dependencyUpdates to see avilable version updates
id 'com.github.ben-manes.versions' version '0.42.0'
id "com.google.devtools.ksp" version "$KSP_VERSION"
}

Expand Down
10 changes: 8 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=5.0.0-beta06
VERSION_NAME=5.0.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
Expand All @@ -18,6 +18,12 @@ android.enableJetifier=false

android.databinding.incremental=true
org.gradle.parallel=true

# Publishing configuration for vanniktech/gradle-maven-publish-plugin
SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
SONATYPE_AUTOMATIC_RELEASE=true

# Dokka fails without a larger metaspace https://github.com/Kotlin/dokka/issues/1405
org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=1g
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=2g
kapt.includeCompileClasspath=false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 85f3cfc

Please sign in to comment.