Add 1.1 EAP repository when creating a new Gradle project with 1.1 EAP

#KT-15293 Fixed
This commit is contained in:
Dmitry Jemerov
2016-12-16 13:44:50 +01:00
parent 0949f55921
commit ace4407032
8 changed files with 118 additions and 19 deletions
@@ -0,0 +1,33 @@
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.5
version = '1.0'
repositories {
mavenCentral()
maven {
url 'http://dl.bintray.com/kotlin/kotlin-eap-1.1'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
buildscript {
ext.kotlin_version = '$VERSION$'
repositories {
maven {
url 'http://dl.bintray.com/kotlin/kotlin-eap-1.1'
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
// VERSION: $VERSION$
@@ -0,0 +1,14 @@
apply plugin: 'java'
sourceCompatibility = 1.5
version = '1.0'
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
}
// VERSION: 1.1-M04