mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
43 lines
914 B
Groovy
43 lines
914 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.2.40'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.3'
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "org.jetbrains.kotlin.jvm"
|
|
id 'com.github.johnrengelman.shadow' version '2.0.3'
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
compile group: 'info.picocli', name: 'picocli', version: '3.0.1'
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
compileKotlin {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
mainClassName = "net.corda.avalanche.MainKt"
|
|
shadowJar {
|
|
baseName = "avalanche"
|
|
}
|