Fix missing dependency to the copyAPI task

This commit is contained in:
OmerBenGera 2024-04-29 20:19:34 +03:00
parent a9c1541013
commit ed6932b903

View File

@ -114,7 +114,7 @@ shadowJar {
configurations = [project.configurations.getByName("runtimeClasspath")]
}
task copyAPI(type: Copy) {
task copyAPI(type: Copy, dependsOn: ':API:build') {
from rootProject.archiveFolder.getAbsolutePath() + '/API.jar'
into rootProject.targetFolder.getAbsolutePath()
rename('API.jar', rootProject.name + 'API.jar')