[CI SKIP] Added the API jar to the dev builds

This commit is contained in:
OmerBenGera 2021-05-17 11:21:58 +03:00
parent d4c790c3a9
commit 5cf96b3199

View File

@ -102,12 +102,19 @@ shadowJar {
configurations = [project.configurations.getByName("runtimeClasspath")]
}
task copyAPI(type: Copy) {
from './archive/API.jar'
into './target/'
rename('API.jar', rootProject.name + 'API.jar')
}
clean {
delete file('./archive/')
}
build {
dependsOn shadowJar
dependsOn copyAPI
dependsOn clean
}