30 lines
650 B
Groovy
30 lines
650 B
Groovy
group 'uk.co.neviyn'
|
|
version 'DEVELOPMENT'
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'application'
|
|
|
|
sourceCompatibility = 1.8
|
|
applicationDefaultJvmArgs = ["-Dfile.encoding=UTF-8", "-Dorg.slf4j.simpleLogger.defaultLogLevel=warn"]
|
|
mainClassName = "uk.co.neviyn.pokergame.App"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
compile 'org.slf4j:slf4j-api:1.7.22'
|
|
compile 'org.slf4j:slf4j-simple:1.7.22'
|
|
testCompile group: 'junit', name: 'junit', version: '4.11'
|
|
testCompile "org.mockito:mockito-core:2.+"
|
|
}
|
|
|
|
test {
|
|
systemProperty "file.encoding", "utf-8"
|
|
}
|