mirror of
https://github.com/jlengrand/korge-samples.git
synced 2026-03-10 08:31:18 +00:00
Converted minesweeper example into build.gradle.kts
This commit is contained in:
@@ -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"
|
||||
@@ -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}")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user