File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change
1
+ import org.gradle.api.JavaVersion
2
+
1
3
group = " groupId"
2
4
version = " 1.0-SNAPSHOT"
3
5
4
6
buildscript {
5
7
6
8
repositories {
9
+ gradleScriptKotlin()
7
10
maven { setUrl(" http://dl.bintray.com/kotlin/kotlin-eap-1.1" ) }
8
11
mavenCentral()
9
- gradleScriptKotlin()
10
12
}
11
13
12
14
dependencies {
@@ -26,9 +28,14 @@ apply {
26
28
// mainClassName = "samples.HelloWorldKt"
27
29
// }
28
30
31
+ // configure<JavaPluginConvention> {
32
+ // sourceCompatibility = JavaVersion.VERSION_1_7
33
+ // targetCompatibility = JavaVersion.VERSION_1_7
34
+ // }
35
+
29
36
repositories {
30
- maven { setUrl(" http://dl.bintray.com/kotlin/kotlin-eap-1.1" ) }
31
37
gradleScriptKotlin()
38
+ maven { setUrl(" http://dl.bintray.com/kotlin/kotlin-eap-1.1" ) }
32
39
}
33
40
34
41
dependencies {
Original file line number Diff line number Diff line change 1
- rootProject. buildFileName = ' build.gradle.kts'
2
-
1
+ rootProject. buildFileName = ' build.gradle.kts'
You can’t perform that action at this time.
0 commit comments