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:
@@ -131,11 +131,11 @@ val reflectShadowJar by task<ShadowJar> {
|
||||
version = null
|
||||
callGroovy("manifestAttributes", manifest, project, "Main", true)
|
||||
|
||||
from(the<JavaPluginConvention>().sourceSets.getByName("main").output)
|
||||
from(project(":core:descriptors.jvm").the<JavaPluginConvention>().sourceSets.getByName("main").resources) {
|
||||
from(javaPluginConvention().sourceSets.getByName("main").output)
|
||||
from(project(":core:descriptors.jvm").javaPluginConvention().sourceSets.getByName("main").resources) {
|
||||
include("META-INF/services/**")
|
||||
}
|
||||
from(project(":core:deserialization").the<JavaPluginConvention>().sourceSets.getByName("main").resources) {
|
||||
from(project(":core:deserialization").javaPluginConvention().sourceSets.getByName("main").resources) {
|
||||
include("META-INF/services/**")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user