Skip to content

Commit

Permalink
Update Gradle plugin dependencies configuration
Browse files Browse the repository at this point in the history
Exclude dependencies provided by Gradle via runtime.
  • Loading branch information
Tapchicoma committed Apr 5, 2022
1 parent 24a7644 commit e069e2f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions atomicfu-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,18 @@ kotlin.sourceSets.all {
}

dependencies {
compile gradleApi()
compile project(":atomicfu-transformer")
compile 'org.jetbrains.kotlin:kotlin-stdlib'
implementation(project(":atomicfu-transformer")) {
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib'
}

compileOnly gradleApi()
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib'
compileOnly "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

testCompile gradleTestKit()
testCompile 'org.jetbrains.kotlin:kotlin-test'
testCompile 'org.jetbrains.kotlin:kotlin-test-junit'
testCompile 'junit:junit:4.12'
testImplementation gradleTestKit()
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit'
testImplementation 'junit:junit:4.12'
}

configurations {
Expand Down

0 comments on commit e069e2f

Please sign in to comment.