2016-02-16 14:10:51 +00:00
|
|
|
apply plugin: 'kotlin'
|
2016-06-15 17:00:57 +00:00
|
|
|
apply plugin: QuasarPlugin
|
2016-07-06 16:54:46 +00:00
|
|
|
// Applying the maven plugin means this will get installed locally when running "gradle install"
|
|
|
|
apply plugin: 'maven'
|
2016-02-16 14:10:51 +00:00
|
|
|
|
2016-02-18 12:43:15 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// apply plugin: 'org.jetbrains.dokka'
|
|
|
|
|
2016-02-16 14:10:51 +00:00
|
|
|
repositories {
|
2016-03-02 13:45:53 +00:00
|
|
|
mavenLocal()
|
2016-02-16 14:10:51 +00:00
|
|
|
mavenCentral()
|
2016-03-02 13:45:53 +00:00
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
2016-02-16 14:10:51 +00:00
|
|
|
}
|
|
|
|
|
2016-07-21 12:55:40 +00:00
|
|
|
sourceSets {
|
|
|
|
test {
|
|
|
|
resources {
|
|
|
|
srcDir "../config/test"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-16 14:10:51 +00:00
|
|
|
dependencies {
|
2016-02-24 13:50:21 +00:00
|
|
|
testCompile 'junit:junit:4.12'
|
2016-07-04 14:34:45 +00:00
|
|
|
testCompile "commons-fileupload:commons-fileupload:1.3.2"
|
2016-02-23 17:17:46 +00:00
|
|
|
|
2016-05-20 13:10:34 +00:00
|
|
|
// Guava: Google test library (collections test suite)
|
|
|
|
testCompile "com.google.guava:guava-testlib:19.0"
|
|
|
|
|
2016-02-16 14:10:51 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
|
2016-04-14 15:51:53 +00:00
|
|
|
// Thread safety annotations
|
|
|
|
compile "com.google.code.findbugs:jsr305:3.0.1"
|
|
|
|
|
2016-07-22 16:31:03 +00:00
|
|
|
// Log4J: logging framework (with SLF4J bindings)
|
2016-07-21 12:55:40 +00:00
|
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
|
|
|
|
compile "org.apache.logging.log4j:log4j-core:${log4j_version}"
|
|
|
|
|
2016-05-16 09:54:25 +00:00
|
|
|
// AssertJ: for fluent assertions for testing
|
2016-07-04 14:34:45 +00:00
|
|
|
testCompile "org.assertj:assertj-core:${assertj_version}"
|
2016-05-16 09:54:25 +00:00
|
|
|
|
2016-02-23 17:17:46 +00:00
|
|
|
// Guava: Google utilities library.
|
|
|
|
compile "com.google.guava:guava:19.0"
|
|
|
|
|
|
|
|
// RxJava: observable streams of events.
|
2016-07-04 14:34:45 +00:00
|
|
|
compile "io.reactivex:rxjava:1.1.6"
|
2016-02-16 14:10:51 +00:00
|
|
|
|
2016-03-02 13:45:53 +00:00
|
|
|
// Kryo: object graph serialization.
|
2016-07-04 14:34:45 +00:00
|
|
|
compile "com.esotericsoftware:kryo:4.0.0"
|
|
|
|
compile "de.javakaffee:kryo-serializers:0.38"
|
2016-03-02 13:45:53 +00:00
|
|
|
|
2016-02-29 17:56:03 +00:00
|
|
|
// Apache JEXL: An embeddable expression evaluation library.
|
|
|
|
// This may be temporary until we experiment with other ways to do on-the-fly contract specialisation via an API.
|
|
|
|
compile "org.apache.commons:commons-jexl3:3.0"
|
2016-03-23 11:15:09 +00:00
|
|
|
|
|
|
|
// For JSON
|
2016-07-04 14:34:45 +00:00
|
|
|
compile "com.fasterxml.jackson.core:jackson-databind:${jackson_version}"
|
2016-05-19 13:01:38 +00:00
|
|
|
|
2016-06-09 13:55:45 +00:00
|
|
|
// Java ed25519 implementation. See https://github.com/str4d/ed25519-java/
|
|
|
|
compile 'net.i2p.crypto:eddsa:0.1.0'
|
2016-07-21 12:56:23 +00:00
|
|
|
|
|
|
|
// Bouncy castle support needed for X509 certificate manipulation
|
|
|
|
compile "org.bouncycastle:bcprov-jdk15on:${bouncycastle_version}"
|
|
|
|
compile "org.bouncycastle:bcpkix-jdk15on:${bouncycastle_version}"
|
2016-05-19 13:01:38 +00:00
|
|
|
}
|
|
|
|
|
2016-06-15 17:00:57 +00:00
|
|
|
quasarScan.dependsOn('classes')
|