Initial commit/gradle init

master
kageru 3 years ago
commit 580b279122
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

5
.gitignore vendored

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

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

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

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

@ -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)
}
}
Loading…
Cancel
Save