rook
06/07/2018, 5:53 PMDhawal
06/07/2018, 6:01 PMrook
06/07/2018, 6:33 PMbuild.gradle
file?Dhawal
06/08/2018, 3:11 AMbuildscript {
ext.kotlin_version = '1.2.41'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'java'
}
group 'com.practice'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
rook
06/08/2018, 3:13 PMbuildDir
to the file path where your project resides.