Build: Introduce Project extension properties for source sets

This commit is contained in:
Vyacheslav Gerasimov
2018-06-14 17:59:24 +03:00
parent 42dc6a277f
commit 01db78d776
32 changed files with 51 additions and 54 deletions
@@ -49,7 +49,7 @@ val shadowJar = task<ShadowJar>("shadowJar") {
callGroovy("manifestAttributes", manifest, project)
manifest.attributes["Implementation-Version"] = version
from(javaPluginConvention().sourceSets["main"].output)
from(mainSourceSet.output)
exclude("**/*.proto")
configurations = listOf(shadows)