diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 19e21e3..1c96e0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,5 @@ jobs: run: chmod +x gradlew - name: Generate Javadoc run: ./gradlew javaDocReleaseGeneration --no-parallel - - name: Upload artifacts - run: ./gradlew publish --no-configuration-cache - - name: Close repository - run: ./gradlew closeAndReleaseRepository --no-configuration-cache + - name: Release artifacts + run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 52b3180..3f466e3 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,11 +1,10 @@ [versions] # Plugins kotlin = "1.8.22" -android = "8.2.1" -versionUpdater = "0.50.0" +android = "8.3.1" +versionUpdater = "0.51.0" ktlint = "12.1.0" -dokka = "1.8.20" -mavenRelease = "0.27.0" +mavenRelease = "0.28.0" moshiIR = "0.22.1" # AndroidX libraries @@ -26,14 +25,13 @@ viewBindingProperty = "1.5.9" junit = "4.13.2" androidxTestCore = "1.5.0" mockitoKotlin = "2.2.0" -mockitoCore = "5.8.0" +mockitoCore = "5.11.0" [plugins] android-library = { id = "com.android.library", version.ref = "android" } android-app = { id = "com.android.application", version.ref = "android" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint" } -dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } mavenRelease = { id = "com.vanniktech.maven.publish", version.ref = "mavenRelease" } moshiIR = { id = "dev.zacsweers.moshix", version.ref = "moshiIR"} versionUpdater = { id = "com.github.ben-manes.versions", version.ref = "versionUpdater" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4b48f1a..f57a641 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip diff --git a/settings.gradle.kts b/settings.gradle.kts index 68ce496..1be30fd 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -16,7 +16,7 @@ dependencyResolutionManagement { } plugins { - id("com.gradle.enterprise") version "3.16.1" + id("com.gradle.develocity") version "3.17" } include( ":app",