mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-21 11:46:46 +01:00
[CI SKIP] Added the API jar to the dev builds
This commit is contained in:
parent
d4c790c3a9
commit
5cf96b3199
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user