Skip to content

Commit

Permalink
Revert "[remkop#1291][remkop#1292][remkop#1294] Fix transitive deps t…
Browse files Browse the repository at this point in the history
…o be `api` scope"

This reverts commit 35c06e7.
  • Loading branch information
MarkoMackic committed Oct 17, 2021
1 parent 7e1f193 commit 212c025
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion picocli-codegen/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (org.gradle.api.JavaVersion.current().isJava8Compatible() && !org.gradle.api.
targetCompatibility = 1.6
}
dependencies {
api rootProject
implementation rootProject
testImplementation "junit:junit:$junitVersion"
}

Expand Down
8 changes: 4 additions & 4 deletions picocli-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ configurations {
ivy
}
dependencies {
api rootProject
api project(':picocli-groovy')
api "org.jetbrains.kotlin:kotlin-stdlib"
api 'org.scala-lang:scala-library:2.13.3'
implementation rootProject
implementation project(':picocli-groovy')
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation 'org.scala-lang:scala-library:2.13.3'
ivy "org.apache.ivy:ivy:$ivyVersion" // for Intelli/J
implementation "org.codehaus.groovy:groovy-all:$groovyVersion",
"org.apache.ivy:ivy:$ivyVersion", // for Intelli/J
Expand Down
2 changes: 1 addition & 1 deletion picocli-groovy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ configurations {
ivy
}
dependencies {
api rootProject
implementation rootProject
compileOnly "org.codehaus.groovy:groovy-all:$groovyVersion"
ivy "org.apache.ivy:ivy:$ivyVersion" // for Gradle
testImplementation "junit:junit:$junitVersion"
Expand Down
4 changes: 2 additions & 2 deletions picocli-shell-jline2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ description 'Picocli Shell JLine2 - easily build interactive shell applications
version "$projectVersion"

dependencies {
api rootProject
api "jline:jline:$jlineVersion"
implementation rootProject
implementation "jline:jline:$jlineVersion"
testImplementation "junit:junit:$junitVersion"
}

Expand Down
4 changes: 2 additions & 2 deletions picocli-shell-jline3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
api rootProject
implementation rootProject
api "org.jline:jline:$jline3Version"
api "org.jline:jline-console:$jline3Version"
implementation "org.jline:jline-console:$jline3Version"
testImplementation "junit:junit:$junitVersion"
}

Expand Down
4 changes: 2 additions & 2 deletions picocli-spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ repositories {
}

dependencies {
api rootProject
api "org.springframework.boot:spring-boot-starter:$springBootVersion"
implementation rootProject
implementation "org.springframework.boot:spring-boot-starter:$springBootVersion"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:$springBootVersion"
}

Expand Down

0 comments on commit 212c025

Please sign in to comment.