corda/build.gradle

42 lines
910 B
Groovy

group 'com.r3cev.experimental'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.dokka'
allprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
buildscript {
ext.kotlin_version = '1.0.0-beta-2423'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.2"
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile 'junit:junit:4.11'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "com.google.guava:guava:18.0"
compile "com.esotericsoftware:kryo:3.0.3"
}
sourceSets {
main.java.srcDirs += 'src'
test.java.srcDirs += 'tests'
}