Skip to content

Commit

Permalink
Share AGP and Kotlin versions with build-logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedre committed Jan 24, 2024
1 parent 11e8039 commit 9c2bf14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-logic/convention/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ plugins {
group = "com.quran.labs.androidquran.buildlogic"

dependencies {
compileOnly("com.android.tools.build:gradle:8.2.1")
compileOnly("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22")
compileOnly(libs.android.gradlePlugin)
compileOnly(libs.kotlin.gradlePlugin)
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
}

Expand Down
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ truth = { module = "com.google.truth:truth", version.ref = "truthVersion" }
turbine = { module = "app.cash.turbine:turbine-jvm", version.ref = "turbineVersion" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutinesVersion" }

# build-logic
android-gradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "agp" }
kotlin-gradlePlugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlin" }

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
android-library = { id = "com.android.library", version.ref = "agp" }
Expand Down

0 comments on commit 9c2bf14

Please sign in to comment.