Updated the build

This commit is contained in:
Sambo Chea 2021-05-20 19:45:22 +07:00
parent 104e325043
commit 6dfb2685c8

View File

@ -38,4 +38,15 @@ tasks.test {
testLogging { testLogging {
events("passed", "skipped", "failed") events("passed", "skipped", "failed")
} }
} }
tasks {
val sourcesJar by creating(Jar::class) {
dependsOn(JavaPlugin.CLASSES_TASK_NAME)
from(sourceSets["main"].allSource)
}
artifacts {
add("archives", sourcesJar)
}
}