mshackman/hack-man-2-engine-development/build.gradle
Armin Friedl a1796c4198 Implement Bot prediction
Calculations of next step of every bot.
2017-11-12 08:28:59 +01:00

65 lines
No EOL
1.3 KiB
Groovy

group 'io.riddles'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'com.jfrog.artifactory'
version = '1.0.5'
mainClassName = 'io.riddles.hackman2.HackMan2'
sourceCompatibility = 1.8
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.4.0'
}
}
artifactory {
resolve {
contextUrl = 'http://artifactory.dev.riddles.io/artifactory'
repoKey = 'libs-release-local'
username = 'anonymous'
}
}
sourceSets {
main {
java {
srcDir 'src/java'
}
}
test {
groovy {
srcDir 'test/groovy'
}
}
}
jar {
manifest {
attributes 'Implementation-Title': 'Hack-man 2 Game Engine',
'Implementation-Version': version,
'Main-Class': mainClassName
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'io.riddles', name: 'javainterface', version: '1.0.7'
compile group: 'org.json', name: 'json', version: '20160212'
testCompile 'org.codehaus.groovy:groovy-all:2.4.1'
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
}