Change sourceJar to val in Gradle build script

This commit is contained in:
Minecrell 2018-07-24 14:17:52 +02:00
parent 9c880b6d17
commit 17d042ee9b

View file

@ -19,7 +19,7 @@ dependencies {
compile("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.6")
}
var sourceJar = task<Jar>("sourceJar") {
val sourceJar = task<Jar>("sourceJar") {
classifier = "sources"
from(java.sourceSets["main"].allSource)
}