Skip to content

Commit 4d8a585

Browse files
committed
kotlin gradle script
1 parent b1cce26 commit 4d8a585

File tree

6 files changed

+58
-28
lines changed

6 files changed

+58
-28
lines changed

.idea/modules/unsigned.iml

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 0 additions & 26 deletions
This file was deleted.

build.gradle.kts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
buildscript {
2+
3+
repositories {
4+
gradleScriptKotlin()
5+
}
6+
7+
dependencies {
8+
classpath(kotlinModule("gradle-plugin"))
9+
}
10+
}
11+
12+
plugins {
13+
application
14+
}
15+
16+
apply {
17+
plugin("kotlin")
18+
}
19+
20+
configure<ApplicationPluginConvention> {
21+
// mainClassName = "samples.HelloWorldKt"
22+
}
23+
24+
repositories {
25+
gradleScriptKotlin()
26+
}
27+
28+
dependencies {
29+
compile(kotlinModule("stdlib"))
30+
}

gradle/wrapper/gradle-wrapper.jar

-124 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip
6+
distributionUrl=https\://repo.gradle.org/gradle/dist-snapshots/gradle-script-kotlin-3.4-20170106171830+0000-all.zip

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
rootProject.name = 'unsigned'
1+
rootProject.buildFileName = 'build.gradle.kts'
22

0 commit comments

Comments
 (0)