Skip to content

Commit

Permalink
Use compileOnly for kotlin/agp plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodbx committed Dec 7, 2022
1 parent 73c3fa2 commit 524be48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {

dependencies {
classpath libs.plugin.kotlin
classpath libs.plugin.android
classpath 'com.android.tools.build:gradle:7.3.1'
classpath libs.plugin.versions
classpath libs.plugin.spotless

Expand Down
5 changes: 3 additions & 2 deletions paparazzi/paparazzi-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ gradlePlugin {

dependencies {
compileOnly gradleApi()
compileOnly libs.plugin.kotlin
compileOnly libs.plugin.android

implementation platform(libs.kotlin.bom)
implementation libs.plugin.kotlin
implementation libs.plugin.android
implementation(libs.tools.sdkCommon) {
because "SymbolUtils.getPackageNameFromManifest removed in AGP 7.0. Replace?"
}
Expand Down

0 comments on commit 524be48

Please sign in to comment.