2015-11-30 17:00:25 +00:00
|
|
|
group 'com.r3cev.prototyping'
|
2015-11-03 12:37:19 +00:00
|
|
|
version '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'kotlin'
|
2015-11-16 11:16:37 +00:00
|
|
|
apply plugin: 'org.jetbrains.dokka'
|
2015-11-03 12:37:19 +00:00
|
|
|
|
2015-11-23 12:13:46 +00:00
|
|
|
allprojects {
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
|
|
|
|
2015-11-03 12:37:19 +00:00
|
|
|
buildscript {
|
2015-12-07 12:35:19 +00:00
|
|
|
ext.kotlin_version = '1.0.0-beta-3594'
|
2015-11-03 12:37:19 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2015-11-16 11:16:37 +00:00
|
|
|
jcenter()
|
2015-11-03 12:37:19 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2015-12-08 16:23:39 +00:00
|
|
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.3"
|
2015-11-03 12:37:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-16 11:16:37 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2015-12-07 18:45:53 +00:00
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
2015-11-16 11:16:37 +00:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
2015-11-03 12:37:19 +00:00
|
|
|
dependencies {
|
2015-11-06 12:56:04 +00:00
|
|
|
testCompile 'junit:junit:4.11'
|
2015-11-03 12:37:19 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
2015-11-09 19:27:53 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
2015-11-03 12:37:19 +00:00
|
|
|
compile "com.google.guava:guava:18.0"
|
2015-11-13 16:22:26 +00:00
|
|
|
compile "com.esotericsoftware:kryo:3.0.3"
|
2015-12-10 16:14:24 +00:00
|
|
|
compile "de.javakaffee:kryo-serializers:0.37"
|
2015-12-03 18:24:26 +00:00
|
|
|
compile "com.google.code.findbugs:jsr305:3.0.1"
|
|
|
|
|
|
|
|
// Logging
|
|
|
|
compile "org.slf4j:slf4j-jdk14:1.7.13"
|
2015-11-03 12:37:19 +00:00
|
|
|
|
2015-12-07 18:45:53 +00:00
|
|
|
// For the continuations in the state machine tests. Note: JavaFlow is old and unmaintained but still seems to work
|
|
|
|
// just fine, once the patch here is applied to update it to a Java8 compatible asm:
|
|
|
|
//
|
|
|
|
// https://github.com/playframework/play1/commit/e0e28e6780a48c000e7ed536962f1f284cef9437
|
|
|
|
//
|
|
|
|
// Obviously using this year-old upload to Maven Central by the Maven Play Plugin team is a short term hack for
|
|
|
|
// experimenting. Using this for real would mean forking JavaFlow and taking over maintenance (luckily it's small
|
|
|
|
// and Java is stable, so this is unlikely to be a big burden). We have to manually force an in-place upgrade to
|
|
|
|
// asm 5.0.3 here (javaflow wants 5.0.2) in order to avoid version conflicts. This is also something that should be
|
|
|
|
// fixed in any fork. Sadly, even Jigsaw doesn't solve this problem out of the box.
|
|
|
|
compile "com.google.code.maven-play-plugin.org.apache.commons:commons-javaflow:1590792-patched-play-1.3.0"
|
|
|
|
compile "org.ow2.asm:asm:5.0.3"
|
|
|
|
compile "org.ow2.asm:asm-analysis:5.0.3"
|
|
|
|
compile "org.ow2.asm:asm-tree:5.0.3"
|
|
|
|
compile "org.ow2.asm:asm-commons:5.0.3"
|
|
|
|
compile "org.ow2.asm:asm-util:5.0.3"
|
|
|
|
|
2015-12-01 19:45:55 +00:00
|
|
|
// For visualisation
|
|
|
|
compile "org.graphstream:gs-core:1.3"
|
|
|
|
compile "org.graphstream:gs-ui:1.3"
|
|
|
|
compile "com.intellij:forms_rt:7.0.3"
|
2015-11-03 12:37:19 +00:00
|
|
|
}
|