Skip to content

Commit 48ba9d7

Browse files
committed
rework: update folder structure & remove legacy plugin loading mechanism
1 parent db8f59a commit 48ba9d7

File tree

181 files changed

+80
-415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+80
-415
lines changed

plugin/build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
val game: String by project
22

3-
sourceSets {
4-
main {
5-
java.setSrcDirs(listOf("src/main"))
6-
resources.setSrcDirs(listOf("src/resources"))
7-
}
8-
test {
9-
java.setSrcDirs(listOf("src/test"))
10-
}
11-
}
12-
133
dependencies {
144
api(project(":sdk"))
155

plugin/src/main/sc/plugin2022/GamePlugin.kt renamed to plugin/src/main/kotlin/sc/plugin2022/GamePlugin.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ import sc.api.plugins.IGameInstance
44
import sc.api.plugins.IGamePlugin
55
import sc.api.plugins.IGameState
66
import sc.plugin2022.util.Constants
7-
import sc.plugins.PluginDescriptor
87
import sc.shared.ScoreAggregation
98
import sc.shared.ScoreDefinition
109
import sc.shared.ScoreFragment
1110

12-
@PluginDescriptor(name = "Blokus", uuid = GamePlugin.PLUGIN_ID)
1311
class GamePlugin: IGamePlugin {
1412
companion object {
15-
const val PLUGIN_ID = "swc_2021_blokus"
13+
const val PLUGIN_ID = "swc_2022_ostseeschach"
1614
val scoreDefinition: ScoreDefinition =
1715
ScoreDefinition(arrayOf(
1816
ScoreFragment("Gewinner"),

0 commit comments

Comments
 (0)