Files
kotlin-fork/idea/testData/configuration/android-gradle/missedRepositoriesInBuildscriptBlock_after.gradle
T
Nikolay Krasko 6a43743c98 Configure new projects with kotlin-stdlib-jdk7/8 (KT-20286)
No migration for old projects has been added yet.

 #KT-20286 Fixed
2017-10-25 15:01:10 +03:00

38 lines
826 B
Groovy
Vendored

buildscript {
ext.kotlin_version = '$VERSION$'
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
repositories {
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}
apply plugin: 'android'
apply plugin: 'kotlin-android'
repositories {
mavenCentral()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
android {
compileSdkVersion 17
buildToolsVersion "17.0.0"
defaultConfig {
minSdkVersion 7
targetSdkVersion 16
}
}
dependencies {
compile 'com.android.support:support-v4:13.0.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
// VERSION: $VERSION$