[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")] configurations = [project.configurations.getByName("runtimeClasspath")]
} }
task copyAPI(type: Copy) {
from './archive/API.jar'
into './target/'
rename('API.jar', rootProject.name + 'API.jar')
}
clean { clean {
delete file('./archive/') delete file('./archive/')
} }
build { build {
dependsOn shadowJar dependsOn shadowJar
dependsOn copyAPI
dependsOn clean dependsOn clean
} }