mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-26 21:47:23 +01:00
Workaround for build failure when building from a clean source tree.
The build fails when building from a clean source tree, because the CuckooChessEngine.jar file does not exist. This commit adds a workaround, but you have to build twice to get the CuckooChess.jar file to be built.
This commit is contained in:
parent
23b6f94678
commit
f8163545eb
|
@ -1,10 +1,12 @@
|
|||
apply plugin: 'java-library'
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes "Main-Class": "tui.Main"
|
||||
}
|
||||
from zipTree('../CuckooChessEngine/build/libs/CuckooChessEngine.jar')
|
||||
if (project.file('../CuckooChessEngine/build/libs/CuckooChessEngine.jar').exists()) {
|
||||
jar {
|
||||
manifest {
|
||||
attributes "Main-Class": "tui.Main"
|
||||
}
|
||||
from zipTree('../CuckooChessEngine/build/libs/CuckooChessEngine.jar')
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Reference in New Issue
Block a user