[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
1 changed files with 7 additions and 0 deletions

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
}