Skip to content

Commit 68934d2

Browse files
committed
fix ci, remove unused build tasks
1 parent ffe99df commit 68934d2

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

.github/workflows/android_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
- name: Grant execute permission for gradlew
2828
run: chmod +x gradlew
2929

30-
- name: Build with Gradle
31-
run: ./gradlew build
30+
- name: build app with compiler plugin
31+
run: ./gradlew build

app/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ dependencies {
3939
implementation(libs.androidx.constraintlayout)
4040
}
4141

42-
tasks.named("build") {
43-
dependsOn("pluginJar")
44-
}
45-
4642
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
4743
kotlinOptions {
4844
freeCompilerArgs += listOf("-Xplugin=${rootProject.projectDir}/compiler-plugin-lib/build/libs/compiler-plugin-lib.jar")

gradle/libs.versions.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@ versionCode = "21"
1111

1212
lifecycle = "2.8.7"
1313
activity = "1.10.0"
14-
coroutines = "1.9.0"
15-
ktx = "1.15.0"
1614
constraintLayout = "2.2.0"
1715
jetbrainsKotlinJvm = "2.0.20"
1816

1917
[libraries]
2018
android-desugarJdkLibs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "androidDesugarJdkLibs" }
21-
android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
2219

2320
androidx-activity = { group = "androidx.activity", name = "activity-ktx", version.ref = "activity" }
2421
androidx-lifecycle-viewModel = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle" }
@@ -27,7 +24,6 @@ androidx-lifecycle-common = { group = "androidx.lifecycle", name = "lifecycle-co
2724
androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintLayout" }
2825

2926
jetbrains-kotlin-compiler-embeddable = { group = "org.jetbrains.kotlin", name = "kotlin-compiler-embeddable", version.ref = "kotlin" }
30-
jetbrains-kotlin-compiler-plugin-api = { group = "org.jetbrains.kotlin", name = "kotlin-compiler-plugin-api", version.ref = "kotlin" }
3127

3228
[plugins]
3329
kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }

0 commit comments

Comments
 (0)