Skip to content

Commit 85f3cfc

Browse files
authored
Prepare for release 5.0.0 (#1316)
1 parent aceb43b commit 85f3cfc

File tree

6 files changed

+30
-20
lines changed

6 files changed

+30
-20
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ Note that unfortunately the databinding processor does NOT support KSP, simply b
1111

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

14+
We have also added easy interop with Jetpack Compose via functions in the `epoxy-composeinterop` artifact.
15+
See the epoxy-composesample module for example usage.
16+
1417
# 4.6.4 (September 23, 2021)
1518
- Clean up dependency for the experimental epoxy module
1619

RELEASING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Releasing
22
========
33

4-
1. Bump the VERSION_NAME property in `gradle.properties` based on Major.Minor.Patch naming scheme
5-
2. Update `CHANGELOG.md` for the impending release.
6-
3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the version you set in step 1)
7-
4. `./gradlew clean uploadArchives --no-daemon --no-parallel`
8-
5. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact.
9-
6. Open PR with on Github, merge, and publish release through Github UI.
4+
1. Bump the VERSION_NAME property in `gradle.properties` based on Major.Minor.Patch naming scheme
5+
2. Update `CHANGELOG.md` for the impending release.
6+
3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the version you set in step 1)
7+
4. Add your sonatype login information under gradle properties mavenCentralUsername and mavenCentralPassword in your local user gradle.properties file
8+
5. `./gradlew publish` to build the artifacts and publish them to maven
9+
7. Open PR on Github, merge, and publish release through Github UI.

blessedDeps.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ rootProject.ext.JAVA_SOURCE_VERSION = JavaVersion.VERSION_1_8
1111
rootProject.ext.JAVA_TARGET_VERSION = JavaVersion.VERSION_1_8
1212

1313
rootProject.ext.TARGET_SDK_VERSION = 30
14-
rootProject.ext.COMPILE_SDK_VERSION = 32
14+
rootProject.ext.COMPILE_SDK_VERSION = 33
1515
rootProject.ext.MIN_SDK_VERSION = 14
1616
rootProject.ext.COMPOSE_MIN_SDK_VERSION = 21
1717

18-
rootProject.ext.ANDROIDX_ANNOTATION = "1.2.0"
19-
rootProject.ext.ANDROIDX_APPCOMPAT = "1.2.0"
18+
rootProject.ext.ANDROIDX_ANNOTATION = "1.5.0"
19+
rootProject.ext.ANDROIDX_APPCOMPAT = "1.5.1"
2020
rootProject.ext.ANDROIDX_CARDVIEW = "1.0.0"
2121
rootProject.ext.ANDROIDX_CORE_KTX = "1.3.2"
2222
rootProject.ext.ANDROIDX_DATABINDING_ADAPTERS = "3.2.1"
@@ -42,7 +42,7 @@ rootProject.ext.GLIDE_VERSION = "4.12.0"
4242
rootProject.ext.GOOGLE_TESTING_COMPILE_VERSION = "0.19"
4343
rootProject.ext.INCAP_VERSION = "0.3"
4444
rootProject.ext.JUNIT_VERSION = "4.13.1"
45-
rootProject.ext.KOTLIN_COROUTINES_VERSION = "1.6.3"
45+
rootProject.ext.KOTLIN_COROUTINES_VERSION = "1.6.4"
4646
rootProject.ext.KOTLINX_METADATA = "0.5.0"
4747
rootProject.ext.LOTTIE_VERSION = "2.8.0"
4848
rootProject.ext.MOCKITO_VERSION = "3.7.7"
@@ -51,8 +51,8 @@ rootProject.ext.ROBOLECTRIC_VERSION = "4.5.1"
5151
rootProject.ext.SQUARE_JAVAPOET_VERSION = "1.13.0"
5252
rootProject.ext.SQUARE_KOTLINPOET_VERSION = "1.12.0"
5353
rootProject.ext.COMPOSE_COMPILER_VERSION = "1.2.0"
54-
rootProject.ext.COMPOSE_VERSION = "1.2.0"
55-
rootProject.ext.COMPOSE_ACTIVITY_VERSION = "1.5.0"
54+
rootProject.ext.COMPOSE_VERSION = "1.2.1"
55+
rootProject.ext.COMPOSE_ACTIVITY_VERSION = "1.6.0"
5656
rootProject.ext.KOTLINX_LIFECYCLE_RUNTIME_VERSION = "2.3.0"
5757
rootProject.ext.KSP_VERSION = "1.7.0-1.0.6"
5858
rootProject.ext.XPROCESSING_VERSION = "2.5.0-alpha02"

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ buildscript {
1313
dependencies {
1414
classpath "com.android.tools.build:gradle:$ANDROID_PLUGIN_VERSION"
1515
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
16-
// Upload with:
17-
// ./gradlew clean uploadArchives --no-daemon --no-parallel
18-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
16+
// Upload with: (see RELEASING.md)
17+
// ./gradlew publish
18+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0'
1919
// Dokka is needed on classpath for vanniktech publish plugin
20-
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.5.31"
20+
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10"
2121
}
2222
}
2323

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

gradle.properties

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=5.0.0-beta06
1+
VERSION_NAME=5.0.0
22
GROUP=com.airbnb.android
33
POM_DESCRIPTION=Epoxy is a system for composing complex screens with a ReyclerView in Android.
44
POM_URL=https://github.com/airbnb/epoxy
@@ -18,6 +18,12 @@ android.enableJetifier=false
1818

1919
android.databinding.incremental=true
2020
org.gradle.parallel=true
21+
22+
# Publishing configuration for vanniktech/gradle-maven-publish-plugin
23+
SONATYPE_HOST=DEFAULT
24+
RELEASE_SIGNING_ENABLED=true
25+
SONATYPE_AUTOMATIC_RELEASE=true
26+
2127
# Dokka fails without a larger metaspace https://github.com/Kotlin/dokka/issues/1405
22-
org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=1g
28+
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=2g
2329
kapt.includeCompileClasspath=false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)