From a998d4764b90c601d81fb8dd04c753a334b9f9e4 Mon Sep 17 00:00:00 2001 From: Adamglin <149357973+adamglin0@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:55:50 +0800 Subject: [PATCH] fix: Update APG version (#10) Co-authored-by: adamglin --- .github/workflows/publish_artifacts.yaml | 3 ++- compose-shadow/build.gradle.kts | 11 ++++------- gradle/libs.versions.toml | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish_artifacts.yaml b/.github/workflows/publish_artifacts.yaml index 8a1958c..4279a90 100644 --- a/.github/workflows/publish_artifacts.yaml +++ b/.github/workflows/publish_artifacts.yaml @@ -1,7 +1,8 @@ name: Publish Artifacts on: push: - branches: [ "main" ] + tags: + - '*' jobs: build: name: Build diff --git a/compose-shadow/build.gradle.kts b/compose-shadow/build.gradle.kts index ed05d64..fb88dcd 100644 --- a/compose-shadow/build.gradle.kts +++ b/compose-shadow/build.gradle.kts @@ -33,10 +33,10 @@ kotlin { sourceSets { commonMain.dependencies { - compileOnly(compose.runtime) - compileOnly(compose.foundation) - compileOnly(compose.ui) - compileOnly(libs.androidx.annotation) + implementation(compose.runtime) + implementation(compose.foundation) + implementation(compose.ui) + implementation(libs.androidx.annotation) } } } @@ -69,9 +69,6 @@ android { mavenPublishing { - val javadocJar = tasks.register("javadocJar", Jar::class.java) { - archiveClassifier.set("javadoc") - } coordinates( groupId = "com.adamglin", artifactId = "compose-shadow", diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f19ba73..48ea932 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ androidCompileSdk = "35" androidMinSdk = "21" androidTargetSdk = "35" -androidGradlePlugin = "8.3.2" +androidGradlePlugin = "8.6.1" #androidx androidxActivity = "1.9.2" androidxAppCompat = "1.7.0"