Permalink
Browse files

Polish samples

 - Specify repositories last
  • Loading branch information...
bamboo committed Jun 11, 2017
1 parent bc338ae commit 065477f88492f2daf76e4cdd3f73e3f1d5c8ecf2
@@ -7,10 +7,10 @@ application {
mainClassName = "samples.HelloWorldKt"
}
repositories {
gradleScriptKotlin()
}
dependencies {
compile(kotlin("stdlib"))
}
repositories {
gradleScriptKotlin()
}
@@ -11,10 +11,10 @@ java {
targetCompatibility = JavaVersion.VERSION_1_7
}
repositories {
jcenter()
}
dependencies {
testCompile("junit:junit:4.12")
}
repositories {
jcenter()
}
@@ -1,8 +1,8 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories { gradleScriptKotlin() }
dependencies { classpath(kotlin("gradle-plugin")) }
repositories { gradleScriptKotlin() }
}
allprojects {
@@ -1,10 +1,10 @@
buildscript {
repositories {
gradleScriptKotlin()
}
dependencies {
classpath(kotlin("gradle-plugin"))
}
repositories {
gradleScriptKotlin()
}
}
kotlinProject()
@@ -1,10 +1,10 @@
buildscript {
repositories {
gradleScriptKotlin()
}
dependencies {
classpath(kotlin("gradle-plugin"))
}
repositories {
gradleScriptKotlin()
}
}
kotlinProject()

0 comments on commit 065477f

Please sign in to comment.