Init playwithkotlin with gradle
This commit is contained in:
20
module1/build.gradle.kts
Normal file
20
module1/build.gradle.kts
Normal file
@@ -0,0 +1,20 @@
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.jvm") version "1.4.31"
|
||||
|
||||
application
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("com.cubetiqs.playwithkotlin.MainKt")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.cubetiqs.playwithkotlin
|
||||
|
||||
fun main() {
|
||||
println("Hi, you in main func!")
|
||||
}
|
||||
Reference in New Issue
Block a user