diff options
Diffstat (limited to 'sw-common-model')
-rw-r--r-- | sw-common-model/build.gradle | 42 | ||||
-rw-r--r-- | sw-common-model/build.gradle.kts | 8 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/Boards.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/CustomizableSettings.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/CustomizableSettings.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/Table.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/Table.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/boards/RelativeBoardPosition.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/boards/RelativeBoardPosition.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/cards/Cards.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/cards/Cards.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/cards/HandRotationDirection.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/cards/HandRotationDirection.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/moves/MoveType.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/moves/MoveType.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/Provider.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/Provider.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/ResourceTransactions.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/ResourceTransactions.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/ResourceType.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/ResourceType.kt) | 0 | ||||
-rw-r--r-- | sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/wonders/Wonder.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/wonders/Wonder.kt) | 0 |
14 files changed, 8 insertions, 42 deletions
diff --git a/sw-common-model/build.gradle b/sw-common-model/build.gradle deleted file mode 100644 index b8bdb97b..00000000 --- a/sw-common-model/build.gradle +++ /dev/null @@ -1,42 +0,0 @@ -plugins { - id 'kotlin-multiplatform' -} - -kotlin { - jvm() - js() - sourceSets { - commonMain { - dependencies { - implementation kotlin('stdlib-common') - } - } - commonTest { - dependencies { - implementation kotlin('test-common') - implementation kotlin('test-annotations-common') - } - } - jvmMain { - dependencies { - implementation kotlin('stdlib-jdk8') - } - } - jvmTest { - dependencies { - implementation kotlin('test') - implementation kotlin('test-junit') - } - } - jsMain { - dependencies { - implementation kotlin('stdlib-js') - } - } - jsTest { - dependencies { - implementation kotlin('test-js') - } - } - } -} diff --git a/sw-common-model/build.gradle.kts b/sw-common-model/build.gradle.kts new file mode 100644 index 00000000..9c8eff58 --- /dev/null +++ b/sw-common-model/build.gradle.kts @@ -0,0 +1,8 @@ +plugins { + kotlin("jvm") + id("org.jlleitschuh.gradle.ktlint") +} + +dependencies { + implementation(kotlin("stdlib-jdk8")) +} diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/Boards.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt index 698615e9..698615e9 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/Boards.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/Boards.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/CustomizableSettings.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/CustomizableSettings.kt index ac2c2b14..ac2c2b14 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/CustomizableSettings.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/CustomizableSettings.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt index c5feb6c5..c5feb6c5 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/Table.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/Table.kt index 23ab6ee2..23ab6ee2 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/api/Table.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/api/Table.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/boards/RelativeBoardPosition.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/boards/RelativeBoardPosition.kt index 3a8387a3..3a8387a3 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/boards/RelativeBoardPosition.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/boards/RelativeBoardPosition.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/cards/Cards.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/cards/Cards.kt index ab0e0297..ab0e0297 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/cards/Cards.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/cards/Cards.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/cards/HandRotationDirection.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/cards/HandRotationDirection.kt index a10ec19f..a10ec19f 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/cards/HandRotationDirection.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/cards/HandRotationDirection.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/moves/MoveType.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/moves/MoveType.kt index d982c100..d982c100 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/moves/MoveType.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/moves/MoveType.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/Provider.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/Provider.kt index 5d0f3159..5d0f3159 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/Provider.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/Provider.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/ResourceTransactions.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/ResourceTransactions.kt index 77a8670d..77a8670d 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/ResourceTransactions.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/ResourceTransactions.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/ResourceType.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/ResourceType.kt index 5c92b887..5c92b887 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/resources/ResourceType.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/resources/ResourceType.kt diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/wonders/Wonder.kt b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/wonders/Wonder.kt index 6480e935..6480e935 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/game/wonders/Wonder.kt +++ b/sw-common-model/src/main/kotlin/org/luxons/sevenwonders/game/wonders/Wonder.kt |