Compare commits
5 Commits
196156459e
...
ecd8c91568
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecd8c91568 | ||
|
|
3e03780f03 | ||
|
|
0d0e56cc42 | ||
|
|
f277a1ccda | ||
|
|
930273c0a7 |
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
@@ -4,24 +4,12 @@
|
|||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
|
||||||
"type": "java",
|
|
||||||
"name": "Debug (Launch)",
|
|
||||||
"request": "launch",
|
|
||||||
"mainClass": ""
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "java",
|
"type": "java",
|
||||||
"name": "Debug (Launch) - Current File",
|
"name": "Debug (Launch) - Current File",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"mainClass": "${file}"
|
"mainClass": "${file}"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "java",
|
|
||||||
"name": "Debug (Launch)-Main<001_sequential_migration>",
|
|
||||||
"request": "launch",
|
|
||||||
"mainClass": "Main",
|
|
||||||
"projectName": "001_sequential_migration"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,13 +1,2 @@
|
|||||||
arguments=
|
|
||||||
auto.sync=false
|
|
||||||
build.scans.enabled=false
|
|
||||||
connection.gradle.distribution=GRADLE_DISTRIBUTION(LOCAL_INSTALLATION(c\:\\Gradle))
|
|
||||||
connection.project.dir=
|
connection.project.dir=
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
gradle.user.home=c\:/Gradle
|
|
||||||
java.home=
|
|
||||||
jvm.arguments=
|
|
||||||
offline.mode=false
|
|
||||||
override.workspace.settings=true
|
|
||||||
show.console.view=true
|
|
||||||
show.executions.view=true
|
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
|
arguments=
|
||||||
|
auto.sync=false
|
||||||
|
build.scans.enabled=false
|
||||||
|
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
|
||||||
connection.project.dir=
|
connection.project.dir=
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
|
gradle.user.home=c\:/Gradle
|
||||||
|
java.home=
|
||||||
|
jvm.arguments=
|
||||||
|
offline.mode=false
|
||||||
|
override.workspace.settings=true
|
||||||
|
show.console.view=true
|
||||||
|
show.executions.view=true
|
||||||
|
|||||||
0
tools/gradle/initgradleproject/.gitignore
vendored
Normal file
0
tools/gradle/initgradleproject/.gitignore
vendored
Normal file
0
tools/gradle/initgradleproject/README.md
Normal file
0
tools/gradle/initgradleproject/README.md
Normal file
2
tools/gradle/simplegradlekotlin/.gitignore
vendored
Normal file
2
tools/gradle/simplegradlekotlin/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/.gradle
|
||||||
|
/build
|
||||||
12
tools/gradle/simplegradlekotlin/README.md
Normal file
12
tools/gradle/simplegradlekotlin/README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# About this kata
|
||||||
|
Simple handwritten Gradle Java project written in Kotlin.
|
||||||
|
|
||||||
|
# Problem description
|
||||||
|
|
||||||
|
Provide a gradle project for HelloGradleKotlin class. The gradle project should support compliation and application execution.
|
||||||
|
|
||||||
|
|
||||||
|
# Clues
|
||||||
|
|
||||||
|
Java and application gradle plugins shall be used
|
||||||
|
|
||||||
14
tools/gradle/simplegradlekotlin/build.gradle.kts
Normal file
14
tools/gradle/simplegradlekotlin/build.gradle.kts
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
plugins {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
|
application {
|
||||||
|
mainClassName = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
version = "1.0.0"
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
plugins {
|
||||||
|
java
|
||||||
|
application
|
||||||
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
|
application {
|
||||||
|
mainClassName = "main.java.hello.HelloGradleKotlin"
|
||||||
|
}
|
||||||
|
|
||||||
|
version = "1.0.0"
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
package main.java.hello;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HelloGradleKotlin
|
||||||
|
*/
|
||||||
|
public class HelloGradleKotlin {
|
||||||
|
private static final String HELLO_WORLD = "Hello World";
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println(HELLO_WORLD);
|
||||||
|
System.out.println("test");
|
||||||
|
System.out.println("test4");
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user