Files
kotlin-fork/translator/build.gradle
T

39 lines
799 B
Groovy

group 'translator'
version '1.0'
buildscript {
ext.kotlin_version = '1.0.3'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.2"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:1.0.1"
compile group: 'org.jetbrains.kotlin', name: 'kotlin-compiler', version: '1.0.3'
compile 'com.github.jshmrsn:karg:a636b3e'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
jar {
manifest {
attributes 'Main-Class': 'MainKt'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}