Skip to content

Commit 628c477

Browse files
committed
Remove workaround for gradleApi classpath order
1 parent 40da77f commit 628c477

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/main/groovy/nebula/plugin/plugin/NebulaPluginPlugin.groovy

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,6 @@ class NebulaPluginPlugin implements Plugin<Project> {
102102
graph.hasTask(':snapshot') || graph.hasTask(':devSnapshot')
103103
}
104104
}
105-
106-
// Attempt to get out of Gradle dependency hell (at least somewhat reflect the runtime classloading scheme) by forcefully ordering Gradle dependencies last
107-
afterEvaluate {
108-
configurations {
109-
gradleApi
110-
}
111-
112-
dependencies {
113-
gradleApi gradleApi()
114-
gradleApi localGroovy()
115-
}
116-
117-
sourceSets.each {
118-
it.compileClasspath = it.compileClasspath - configurations.gradleApi + configurations.gradleApi
119-
it.runtimeClasspath = it.runtimeClasspath - configurations.gradleApi + configurations.gradleApi
120-
}
121-
}
122105
}
123106
}
124107

0 commit comments

Comments
 (0)