Initial commit/gradle init
This commit is contained in:
commit
580b279122
|
@ -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…
Reference in New Issue
Block a user