mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 03:21:20 +01:00
26 lines
738 B
Groovy
26 lines
738 B
Groovy
apply plugin: 'java-library'
|
|
|
|
if (project.file('../CuckooChessEngine/build/libs/CuckooChessEngine.jar').exists()) {
|
|
jar {
|
|
manifest {
|
|
attributes "Main-Class": "tui.Main"
|
|
}
|
|
from zipTree('../CuckooChessEngine/build/libs/CuckooChessEngine.jar')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation project(':CuckooChessEngine')
|
|
|
|
// Required -- JUnit 4 framework
|
|
testImplementation 'junit:junit:4.13'
|
|
// Optional -- Robolectric environment
|
|
testImplementation 'androidx.test:core:1.2.0'
|
|
// Optional -- Mockito framework
|
|
testImplementation 'org.mockito:mockito-core:1.10.19'
|
|
}
|
|
|
|
sourceCompatibility = "8"
|
|
targetCompatibility = "8"
|