Compare commits

..

5 Commits

Author SHA1 Message Date
Christoph Kroczek
ecd8c91568 update 2019-07-13 20:52:18 +02:00
Christoph Kroczek
3e03780f03 update 2019-07-13 20:52:11 +02:00
Christoph Kroczek
0d0e56cc42 update 2019-07-13 20:52:03 +02:00
Christoph Kroczek
f277a1ccda update 2019-07-13 20:49:19 +02:00
Christoph Kroczek
930273c0a7 cleanup 2019-07-13 19:45:50 +02:00
10 changed files with 70 additions and 24 deletions

14
.vscode/launch.json vendored
View File

@@ -4,24 +4,12 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Launch)",
"request": "launch",
"mainClass": ""
},
{
"type": "java",
"name": "Debug (Launch) - Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Debug (Launch)-Main<001_sequential_migration>",
"request": "launch",
"mainClass": "Main",
"projectName": "001_sequential_migration"
}
]
}

View File

@@ -1,13 +1,2 @@
arguments=
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(LOCAL_INSTALLATION(c\:\\Gradle))
connection.project.dir=
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

View File

@@ -1,2 +1,13 @@
arguments=
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
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

View File

View File

View File

@@ -0,0 +1,2 @@
/.gradle
/build

View 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

View File

@@ -0,0 +1,14 @@
plugins {
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
application {
mainClassName = ""
}
version = "1.0.0"

View File

@@ -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"

View File

@@ -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");
}
}