-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
50 lines (37 loc) · 1.12 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import com.soywiz.korge.gradle.GameCategory
import com.soywiz.korge.gradle.KorgeGradlePlugin
import com.soywiz.korge.gradle.Orientation
import com.soywiz.korge.gradle.korge
buildscript {
val korgePluginVersion: String by project
repositories {
mavenLocal()
mavenCentral()
google()
maven { url = uri("https://plugins.gradle.org/m2/") }
}
dependencies {
classpath("com.soywiz.korlibs.korge.plugins:korge-gradle-plugin:$korgePluginVersion")
}
}
apply<KorgeGradlePlugin>()
korge {
id = "de.tfr.game.hitklack"
name = "Hit Klack"
authorName = "TobseF"
description = "Retro console game remake of Mephisto Hit Klack"
gameCategory = GameCategory.ARCADE
exeBaseName = "HitKlack"
icon = File("build-res/icon.png")
orientation = Orientation.PORTRAIT
// To enable all targets at once
//targetAll()
// To enable targets based on properties/environment variables
//targetDefault()
// To selectively enable targets
targetJvm()
targetJs()
targetDesktop()
targetAndroidIndirect() // targetAndroidDirect()
//targetIos()
}