Converted minesweeper example into build.gradle.kts

This commit is contained in:
soywiz
2020-02-24 00:17:27 +01:00
parent 45391fa2dc
commit 4ed278237f
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
// Ported from here: https://github.com/soywiz/lunea/tree/master/samples/busca
import com.soywiz.korge.gradle.*
apply plugin: "korge"
// Ported from here: https://github.com/soywiz/lunea/tree/master/samples/busca
apply(plugin = "korge")
korge {
entryPoint = "com.soywiz.korge.samples.minesweeper.main"

View File

@@ -1,7 +1,7 @@
enableFeaturePreview("GRADLE_METADATA")
for (file in rootDir.listFiles()) {
if (file.isDirectory() && file.name.startsWith("sample-") && (new File(file, "build.gradle").exists() || new File(file, "build.gradle").exists())) {
if (file.isDirectory() && file.name.startsWith("sample-") && (new File(file, "build.gradle").exists() || new File(file, "build.gradle.kts").exists())) {
include(":${file.name}")
}
}