Skip to content

Commit

Permalink
Make gradle-tooling-api scope only for shell
Browse files Browse the repository at this point in the history
Closes gh-639
  • Loading branch information
rainboyan committed Oct 18, 2024
1 parent acbe43a commit a48dcd6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion grace-shell/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ ext {
}

configurations {
shellOnly
dependenciesBom
compileClasspath {
extendsFrom shellOnly
}
runtimeClasspath {
extendsFrom shellOnly
exclude group: 'org.springframework', module: 'spring-aop'
exclude group: 'org.springframework', module: 'spring-expression'
exclude group: 'org.springframework', module: 'spring-jcl'
Expand All @@ -30,7 +35,7 @@ dependencies {
api project(":grace-util")

api libs.ant
api libs.gradle.tooling.api
shellOnly libs.gradle.tooling.api
api libs.groovy.ant, {
exclude group: "org.apache.ant", module: "ant-antlr"
exclude group: "org.apache.ant", module: "ant-junit"
Expand Down

0 comments on commit a48dcd6

Please sign in to comment.