2019-03-17 09:11:36 +01:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
|
2019-04-19 19:09:04 +02:00
|
|
|
if (project.file('../CuckooChessEngine/build/libs/CuckooChessEngine.jar').exists()) {
|
2019-04-19 20:26:30 +02:00
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes "Main-Class": "tui.Main"
|
|
|
|
}
|
|
|
|
from zipTree('../CuckooChessEngine/build/libs/CuckooChessEngine.jar')
|
|
|
|
}
|
2019-03-17 09:11:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
implementation project(':CuckooChessEngine')
|
|
|
|
|
|
|
|
// Required -- JUnit 4 framework
|
2020-03-26 23:26:39 +01:00
|
|
|
testImplementation 'junit:junit:4.13'
|
2019-03-17 09:11:36 +01:00
|
|
|
// Optional -- Robolectric environment
|
2020-03-26 23:26:39 +01:00
|
|
|
testImplementation 'androidx.test:core:1.2.0'
|
2019-03-17 09:11:36 +01:00
|
|
|
// Optional -- Mockito framework
|
|
|
|
testImplementation 'org.mockito:mockito-core:1.10.19'
|
|
|
|
}
|
|
|
|
|
2019-04-28 17:20:56 +02:00
|
|
|
sourceCompatibility = "8"
|
|
|
|
targetCompatibility = "8"
|