Add sources jar (#4612)

* Add sources jar

* Update build.gradle

* Fix classes not found

* :core

* formatting

Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
키에르 2021-02-08 23:59:11 +09:00 committed by GitHub
parent 6b19178a13
commit fd931564aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,6 +318,11 @@ project(":core"){
}
}
task sourcesJar(type: Jar, dependsOn: classes){
classifier = 'sources'
from sourceSets.main.allSource
}
dependencies{
compileJava.dependsOn(preGen)