You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.6 KiB
Groovy
71 lines
1.6 KiB
Groovy
buildscript {
|
|
ext {
|
|
kotlinVersion = '1.2.61'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
|
|
classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}")
|
|
}
|
|
}
|
|
|
|
apply plugin: "java"
|
|
apply plugin: "kotlin"
|
|
apply plugin: "application"
|
|
|
|
sourceCompatibility = 1.8
|
|
compileKotlin {
|
|
kotlinOptions {
|
|
freeCompilerArgs = ["-Xjsr305=strict"]
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions {
|
|
freeCompilerArgs = ["-Xjsr305=strict"]
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
compile("org.jetbrains.kotlin:kotlin-reflect")
|
|
compile("org.slf4j:slf4j-simple:1.7.25")
|
|
compile("org.slf4j:slf4j-api:1.7.25")
|
|
compile("com.fasterxml.jackson.core:jackson-annotations:2.9.4")
|
|
compile("com.fasterxml.jackson.core:jackson-databind:2.9.4")
|
|
compile("org.apache.commons:commons-exec:1.3")
|
|
compile("org.apache.commons:commons-compress:1.16.1")
|
|
compile("commons-codec:commons-codec:1.11")
|
|
compile("junit:junit:4.12")
|
|
//compile("org.nd4j:nd4j-api:0.9.1")
|
|
compile("com.google.guava:guava:18.0")
|
|
|
|
compile project(":bouncycastle:bcpkix")
|
|
compile project(":bouncycastle:bcprov")
|
|
}
|
|
|
|
mainClassName = "cfig.RKt"
|
|
|
|
jar {
|
|
from files("build/classes/kotlin/main")
|
|
from configurations.runtime.asFileTree.files.collect { zipTree(it) }
|
|
|
|
manifest {
|
|
attributes "Main-Class": "cfig.RKt"
|
|
}
|
|
}
|
|
|
|
test {
|
|
testLogging {
|
|
showStandardStreams = true
|
|
}
|
|
}
|