mirror of
https://github.com/jlengrand/korge-samples.git
synced 2026-03-10 08:31:18 +00:00
Use groovy instead of kotin-dsl to improve startup time
This commit is contained in:
@@ -1 +1,2 @@
|
||||
org.gradle.jvmargs=-Xmx1536m
|
||||
org.gradle.parallel=true
|
||||
|
||||
5
sample-bitmap-font/build.gradle
Normal file
5
sample-bitmap-font/build.gradle
Normal file
@@ -0,0 +1,5 @@
|
||||
apply plugin: "korge"
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.bitmapfont"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import com.soywiz.korge.gradle.*
|
||||
|
||||
apply(plugin = "korge")
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.bitmapfont"
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
import com.soywiz.korge.gradle.*
|
||||
|
||||
apply(plugin = "korge")
|
||||
apply plugin: "korge"
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.sample1"
|
||||
@@ -1,6 +1,4 @@
|
||||
import com.soywiz.korge.gradle.*
|
||||
|
||||
apply(plugin = "korge")
|
||||
apply plugin: "korge"
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.dragonbones"
|
||||
5
sample-input/build.gradle
Normal file
5
sample-input/build.gradle
Normal file
@@ -0,0 +1,5 @@
|
||||
apply plugin: "korge"
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.input"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import com.soywiz.korge.gradle.*
|
||||
|
||||
apply(plugin = "korge")
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.input"
|
||||
}
|
||||
5
sample-scenes/build.gradle
Normal file
5
sample-scenes/build.gradle
Normal file
@@ -0,0 +1,5 @@
|
||||
apply plugin: "korge"
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.scenes"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import com.soywiz.korge.gradle.*
|
||||
|
||||
apply(plugin = "korge")
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.scenes"
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
import com.soywiz.korge.gradle.*
|
||||
|
||||
apply(plugin = "korge")
|
||||
apply plugin: "korge"
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.sample1"
|
||||
10
sample-tic-tac-toe-swf/build.gradle
Normal file
10
sample-tic-tac-toe-swf/build.gradle
Normal file
@@ -0,0 +1,10 @@
|
||||
apply plugin: "korge"
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.tictactoe"
|
||||
name = "tic-tac-toe"
|
||||
icon = new File(projectDir, "src/commonMain/resources/icon.png")
|
||||
|
||||
//dependencyMulti("com.soywiz:korge-swf:$korgeVersion")
|
||||
supportSwf()
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
import com.soywiz.korge.gradle.*
|
||||
import com.soywiz.korge.gradle.util.*
|
||||
|
||||
apply(plugin = "korge")
|
||||
|
||||
korge {
|
||||
id = "com.soywiz.samples.tictactoe"
|
||||
name = "tic-tac-toe"
|
||||
icon = projectDir["src/commonMain/resources/icon.png"]
|
||||
|
||||
//dependencyMulti("com.soywiz:korge-swf:$korgeVersion")
|
||||
supportSwf()
|
||||
}
|
||||
7
settings.gradle
Normal file
7
settings.gradle
Normal file
@@ -0,0 +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())) {
|
||||
include(":${file.name}")
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
enableFeaturePreview("GRADLE_METADATA")
|
||||
|
||||
for (file in rootDir.listFiles()) {
|
||||
if (file.isDirectory && file.name.startsWith("sample-") && (File(file, "build.gradle").exists() || File(file, "build.gradle.kts").exists())) {
|
||||
include(":${file.name}")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user