Initial commit/gradle init

This commit is contained in:
kageru 2020-10-22 19:14:15 +02:00
commit 580b279122
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2
5 changed files with 42 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# Ignore Gradle project-specific cache directory
.gradle
# Ignore Gradle build output directory
build

17
build.gradle.kts Normal file
View File

@ -0,0 +1,17 @@
plugins {
id("org.jetbrains.kotlin.jvm") version "1.4.10"
application
}
repositories {
jcenter()
}
dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:1.4.10")
}
application {
mainClassName = "rps.GameKt"
}

1
settings.gradle.kts Normal file
View File

@ -0,0 +1 @@
rootProject.name = "rock-paper-scissors"

View File

@ -0,0 +1,5 @@
package rps
fun main() {
println("Hello, world")
}

View File

@ -0,0 +1,14 @@
/*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
package rps
import kotlin.test.Test
import kotlin.test.assertEquals
class GameTest {
@Test
fun testAppHasAGreeting() {
assertEquals(2 + 2, 4)
}
}