Skip to content

Commit

Permalink
Remove dependencies on shadow configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Dec 11, 2019
1 parent 38196d6 commit 44af7f6
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion aop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ ext {
}
dependencies {
api project(':inject')
implementation project(path: ':core', configuration: 'shadow')
api project(':core')
}
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,6 @@ subprojects { Project subproject ->
configurations = [project.configurations.shadowCompile]
relocate "com.github.benmanes.caffeine", "io.micronaut.caffeine"
relocate "org.objectweb.asm", "io.micronaut.asm"

classifier = null
}

def isDocumented = subproject.name != 'inject' && subproject.name != 'core' && subproject.name != 'aop' && !subproject.name.contains('asciidoc-config-props')
Expand Down
2 changes: 1 addition & 1 deletion inject-groovy/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
api project(":inject")
api project(path: ':aop', configuration: 'shadow')
api project(':aop')
api dependencyVersion("groovy")

testImplementation "junit:junit:4.12"
Expand Down
4 changes: 2 additions & 2 deletions inject-java/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies {
api project(":inject")
api project(path: ':aop', configuration: 'shadow')
api project(':aop')

compileOnly files(org.gradle.internal.jvm.Jvm.current().toolsJar)
compileOnly dependencyVersion("validation")

testImplementation 'com.github.spotbugs:spotbugs-annotations:3.1.12'
testImplementation project(path: ':aop', configuration: 'shadow')
testImplementation project(':aop')
testAnnotationProcessor project(":inject-java")
testImplementation project(":runtime")
testImplementation dependencyVersion("rxjava2")
Expand Down
2 changes: 1 addition & 1 deletion management/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dependencies {
api project(":router")
api project(":runtime")
annotationProcessor project(":inject-java")
compileOnly project(":graal")
annotationProcessor project(":graal")

testImplementation project(":http-client")
testImplementation project(":inject-groovy")
Expand Down
4 changes: 2 additions & 2 deletions runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ dependencies {
for(proj in ['http']) {
api project(":$proj")
}
api project(path: ':inject', configuration: 'shadow')
api project(path: ':aop', configuration: 'shadow')
api project(':inject')
api project(':aop')
compileOnly "com.oracle.substratevm:svm:$graalVersion"
compileOnly project(":graal")
compileOnly dependencyVersion("jcache")
Expand Down
2 changes: 1 addition & 1 deletion spring/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
api project(":inject")
annotationProcessor project(":inject-java")
compileOnly dependencyModuleVersion("spring", "spring-jdbc")
api project(path: ':aop', configuration: 'shadow')
api project(':aop')

testImplementation project(':runtime')
testImplementation project(':inject-groovy')
Expand Down
2 changes: 1 addition & 1 deletion websocket/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
api project(":http")
api project(":inject")
api project(path: ':aop', configuration: 'shadow')
api project(':aop')

api dependencyVersion("rxjava2")
annotationProcessor project(":inject-java")
Expand Down

0 comments on commit 44af7f6

Please sign in to comment.