https://kotlinlang.org logo
#android
Title
# android
m

mradupoku

09/08/2017, 11:19 AM
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = ‘1.1.4-3’ repositories { google() jcenter() } dependencies { classpath ‘com.android.tools.buildG3.0.0-beta4’ classpath “org.jetbrains.kotlinkotlin gradle plugin$kotlin_version” // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } apply plugin: ‘kotlin’ allprojects { repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir } repositories { mavenCentral() } dependencies { compile “org.jetbrains.kotlinkotlin stdlib jre8$kotlin_version” } compileKotlin { kotlinOptions { jvmTarget = “1.8” } } compileTestKotlin { kotlinOptions { jvmTarget = “1.8" } }