Build: introduce javaPluginConvention extension on project
`ExtensionAware.the<T>()` introduced in gradle 4.7 made existing calls `the<JavaPluginConvention>()` invalid (on wrong receiver)
This commit is contained in:
@@ -128,7 +128,7 @@ val performanceTestRuntime by configurations.creating {
|
||||
}
|
||||
|
||||
val performanceTest by run {
|
||||
val sourceSets = the<JavaPluginConvention>().sourceSets
|
||||
val sourceSets = javaPluginConvention().sourceSets
|
||||
sourceSets.creating {
|
||||
compileClasspath += sourceSets["test"].output
|
||||
compileClasspath += sourceSets["main"].output
|
||||
|
||||
Reference in New Issue
Block a user