Files
kotlin-fork/idea/testData/configuration/android-gradle/gradleExamples/gradleExample65_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

43 lines
894 B
Groovy
Vendored

buildscript {
ext.kotlin_version = '$VERSION$'
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'android-library'
apply plugin: 'kotlin-android'
apply plugin: 'maven'
repositories {
maven { url '../testrepo' }
mavenCentral()
}
dependencies {
compile 'com.example.android.multiproject:util:1.0'
releaseCompile 'com.google.guava:guava:11.0.2'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
android {
compileSdkVersion 15
buildToolsVersion "17.0"
}
group = 'com.example.android.multiproject'
archivesBaseName = 'baseLib'
version = '1.0'
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri("../testrepo"))
}
}
}