Skip to content

Instantly share code, notes, and snippets.

@boser87
Created June 5, 2018 06:52
Show Gist options
  • Save boser87/3777cae24bc5453951100e351382c29a to your computer and use it in GitHub Desktop.
Save boser87/3777cae24bc5453951100e351382c29a to your computer and use it in GitHub Desktop.
set gradle home to local gradle unzipped
build.gradle
buildscript {
ext.kotlin_version = '1.2.10'
repositories {
maven { url 'http://repo1.sbcore.net:8081/artifactory/DPAY-VR' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
sourceSets {
main.java.srcDirs += 'src'
test.java.srcDirs += 'test'
}
repositories {
maven { url 'http://repo1.sbcore.net:8081/artifactory/DPAY-VR' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'com.google.guava:guava:16.0'
testCompile 'junit:junit:4.12'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment