summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a44351)
raw | patch | inline | side by side (parent: 3a44351)
author | fredboy <fredboy@protonmail.com> | |
Sat, 25 May 2024 09:27:46 +0000 (16:27 +0700) | ||
committer | fredboy <fredboy@protonmail.com> | |
Sat, 25 May 2024 09:27:46 +0000 (16:27 +0700) |
218 files changed:
diff --git a/android/assets b/android/assets
--- a/android/assets
+++ /dev/null
@@ -1 +0,0 @@
-../assets
\ No newline at end of file
diff --git a/android/build.gradle b/android/build.gradle
--- a/android/build.gradle
+++ /dev/null
@@ -1,147 +0,0 @@
-buildscript {
- configurations { natives }
-}
-
-plugins {
- id "com.android.application"
- id "kotlin-android"
-}
-
-def keystorePropertiesFile = rootProject.file("keystore.properties")
-def keystoreProperties = new Properties()
-keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
-
-android {
- namespace "ru.deadsoftware.cavedroid"
- compileSdkVersion 34
- sourceSets {
- main {
- manifest.srcFile 'AndroidManifest.xml'
- java.srcDirs = ['src']
- aidl.srcDirs = ['src']
- renderscript.srcDirs = ['src']
- res.srcDirs = ['res']
- assets.srcDirs = ['assets']
- jniLibs.srcDirs = ['libs']
- }
- debug {
- res.srcDirs = ['debug/res']
- }
- }
- compileOptions {
- sourceCompatibility 17
- targetCompatibility 17
- }
- packagingOptions {
- exclude 'META-INF/robovm/ios/robovm.xml'
- }
- defaultConfig {
- applicationId "ru.deadsoftware.cavedroid"
- minSdkVersion 19
- targetSdkVersion 34
- versionCode 25
- versionName "alpha0.9.2"
-
- multiDexEnabled true
- }
- applicationVariants.all { variant ->
- variant.outputs.all {
- outputFileName = "android-${versionName}.apk"
- }
- }
-
- signingConfigs {
- release_config {
- storeFile file(keystoreProperties['releaseKeystorePath'])
- storePassword keystoreProperties['releaseKeystorePassword']
- keyAlias keystoreProperties['releaseKeyAlias']
- keyPassword keystoreProperties['releaseKeyPassword']
- }
- }
-
- buildTypes {
- release {
- minifyEnabled false
- signingConfig signingConfigs.release_config
- }
- debug {
- applicationIdSuffix ".debug"
- }
- }
- buildFeatures {
- buildConfig true
- }
-
-}
-
-
-// called every time gradle gets executed, takes the native dependencies of
-// the natives configuration, and extracts them to the proper libs/ folders
-// so they get packed with the APK.
-task copyAndroidNatives {
- doFirst {
- file("libs/armeabi/").mkdirs()
- file("libs/armeabi-v7a/").mkdirs()
- file("libs/arm64-v8a/").mkdirs()
- file("libs/x86_64/").mkdirs()
- file("libs/x86/").mkdirs()
-
- configurations.natives.files.each { jar ->
- def outputDir = null
- if (jar.name.endsWith("natives-arm64-v8a.jar")) outputDir = file("libs/arm64-v8a")
- if (jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
- if(jar.name.endsWith("natives-armeabi.jar")) outputDir = file("libs/armeabi")
- if(jar.name.endsWith("natives-x86_64.jar")) outputDir = file("libs/x86_64")
- if(jar.name.endsWith("natives-x86.jar")) outputDir = file("libs/x86")
- if(outputDir != null) {
- copy {
- from zipTree(jar)
- into outputDir
- include "*.so"
- }
- }
- }
- }
-}
-
-tasks.whenTaskAdded { packageTask ->
- if (packageTask.name.contains("package")) {
- packageTask.dependsOn 'copyAndroidNatives'
- }
-}
-
-task run(type: Exec) {
- def path
- def localProperties = project.file("../local.properties")
- if (localProperties.exists()) {
- Properties properties = new Properties()
- localProperties.withInputStream { instr ->
- properties.load(instr)
- }
- def sdkDir = properties.getProperty('sdk.dir')
- if (sdkDir) {
- path = sdkDir
- } else {
- path = "$System.env.ANDROID_HOME"
- }
- } else {
- path = "$System.env.ANDROID_HOME"
- }
-
- def adb = path + "/platform-tools/adb"
- commandLine "$adb", 'shell', 'am', 'start', '-n', 'ru.deadsoftware.cavedroid/ru.deadsoftware.cavedroid.AndroidLauncher'
-}
-
-dependencies {
- implementation project(":core")
- implementation platform("org.jetbrains.kotlin:kotlin-bom:$kotlinVersion")
- api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
-
- configurations.implementation {
- exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8'
- }
-}
\ No newline at end of file
diff --git a/android/build.gradle.kts b/android/build.gradle.kts
--- /dev/null
+++ b/android/build.gradle.kts
@@ -0,0 +1,131 @@
+import java.io.FileInputStream
+import java.util.Properties
+
+private val natives by configurations.creating
+
+plugins {
+ id("com.android.application")
+ id("kotlin-android")
+}
+
+private val keystorePropertiesFile = rootProject.file("keystore.properties")
+private val keystoreProperties = if (keystorePropertiesFile.exists()) {
+ Properties().apply {
+ load(FileInputStream(keystorePropertiesFile))
+ }
+} else {
+ null
+}
+
+
+android {
+ namespace = ApplicationInfo.packageName
+ compileSdk = 34
+
+ sourceSets {
+
+ named("main") {
+ jniLibs.srcDir("libs")
+ }
+
+ named("debug") {
+ res.srcDir("src/debug/res")
+ }
+
+ }
+
+ compileOptions {
+ sourceCompatibility = ApplicationInfo.sourceCompatibility
+ targetCompatibility = ApplicationInfo.sourceCompatibility
+ }
+
+ defaultConfig {
+ applicationId = ApplicationInfo.packageName
+ minSdk = 19
+ targetSdk = 34
+
+ versionCode = ApplicationInfo.versionCode
+ versionName = ApplicationInfo.versionName
+
+ multiDexEnabled = true
+ }
+
+ applicationVariants.asSequence()
+ .flatMap { variant -> variant.outputs.asSequence() }
+ .mapNotNull { output -> output as? com.android.build.gradle.internal.api.BaseVariantOutputImpl }
+ .forEach { output -> output.outputFileName = "android-${ApplicationInfo.versionName}.apk" }
+
+ val releaseConfig = signingConfigs.create("release_config")
+ with(releaseConfig) {
+ storeFile = keystoreProperties?.get("releaseKeystorePath")?.let(::file)
+ storePassword = keystoreProperties?.get("releaseKeystorePassword")?.toString()
+ keyAlias = keystoreProperties?.get("releaseKeyAlias")?.toString()
+ keyPassword = keystoreProperties?.get("releaseKeyPassword")?.toString()
+ }
+
+ buildTypes {
+ release {
+ isMinifyEnabled = false
+ signingConfig = releaseConfig
+ }
+
+ debug {
+ applicationIdSuffix = ".debug"
+ }
+ }
+
+ buildFeatures {
+ buildConfig = true
+ }
+}
+
+// called every time gradle gets executed, takes the native dependencies of
+// the natives configuration, and extracts them to the proper libs/ folders
+// so they get packed with the APK.
+task("copyAndroidNatives") {
+ doFirst {
+ val armeabiV7Dir = file("libs/armeabi-v7a/").apply { mkdirs() }
+ val arm64Dir = file("libs/arm64-v8a/").apply { mkdirs() }
+ val x86Dir = file("libs/x86/").apply { mkdirs() }
+ val amd64Dir = file("libs/x86_64/").apply { mkdirs() }
+
+ natives.files.forEach { jar ->
+ val outputDir = when {
+ jar.name.endsWith("natives-armeabi-v7a.jar") -> armeabiV7Dir
+ jar.name.endsWith("natives-arm64-v8a.jar") -> arm64Dir
+ jar.name.endsWith("natives-x86.jar") -> x86Dir
+ jar.name.endsWith("natives-x86_64.jar") -> amd64Dir
+ else -> null
+ }
+
+ if (outputDir != null) {
+ copy {
+ from(zipTree(jar))
+ into(outputDir)
+ include("*.so")
+ }
+ }
+ }
+ }
+}
+
+tasks.whenTaskAdded {
+ if (name.contains("package")) {
+ dependsOn("copyAndroidNatives")
+ }
+}
+
+dependencies {
+ implementation((project(":core")))
+ implementation(platform(Dependencies.Kotlin.bom))
+
+ implementation(Dependencies.LibGDX.gdx)
+ implementation(Dependencies.LibGDX.Android.backend)
+
+ natives(Dependencies.LibGDX.Android.Natives.armeabi)
+ natives(Dependencies.LibGDX.Android.Natives.arm64)
+ natives(Dependencies.LibGDX.Android.Natives.x86)
+ natives(Dependencies.LibGDX.Android.Natives.x86_64)
+
+ configurations["implementation"].exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-jdk8")
+}
\ No newline at end of file
diff --git a/android/project.properties b/android/project.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file is used by the Eclipse ADT plugin. It is unnecessary for IDEA and Android Studio projects, which
-# configure Proguard and the Android target via the build.gradle file.
-
-# To enable ProGuard to work with Eclipse ADT, uncomment this (available properties: sdk.dir, user.home)
-# and ensure proguard.jar in the Android SDK is up to date (or alternately reduce the android target to 23 or lower):
-# proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-rules.pro
-
-# Project target.
-target=android-19
diff --git a/android/debug/res/drawable-hdpi/ic_launcher.png b/android/src/debug/res/drawable-hdpi/ic_launcher.png
similarity index 100%
rename from android/debug/res/drawable-hdpi/ic_launcher.png
rename to android/src/debug/res/drawable-hdpi/ic_launcher.png
rename from android/debug/res/drawable-hdpi/ic_launcher.png
rename to android/src/debug/res/drawable-hdpi/ic_launcher.png
diff --git a/android/debug/res/drawable-mdpi/ic_launcher.png b/android/src/debug/res/drawable-mdpi/ic_launcher.png
similarity index 100%
rename from android/debug/res/drawable-mdpi/ic_launcher.png
rename to android/src/debug/res/drawable-mdpi/ic_launcher.png
rename from android/debug/res/drawable-mdpi/ic_launcher.png
rename to android/src/debug/res/drawable-mdpi/ic_launcher.png
diff --git a/android/debug/res/drawable-xhdpi/ic_launcher.png b/android/src/debug/res/drawable-xhdpi/ic_launcher.png
similarity index 100%
rename from android/debug/res/drawable-xhdpi/ic_launcher.png
rename to android/src/debug/res/drawable-xhdpi/ic_launcher.png
rename from android/debug/res/drawable-xhdpi/ic_launcher.png
rename to android/src/debug/res/drawable-xhdpi/ic_launcher.png
diff --git a/android/debug/res/drawable-xxhdpi/ic_launcher.png b/android/src/debug/res/drawable-xxhdpi/ic_launcher.png
similarity index 100%
rename from android/debug/res/drawable-xxhdpi/ic_launcher.png
rename to android/src/debug/res/drawable-xxhdpi/ic_launcher.png
rename from android/debug/res/drawable-xxhdpi/ic_launcher.png
rename to android/src/debug/res/drawable-xxhdpi/ic_launcher.png
diff --git a/android/debug/res/drawable-xxxhdpi/ic_launcher.png b/android/src/debug/res/drawable-xxxhdpi/ic_launcher.png
similarity index 100%
rename from android/debug/res/drawable-xxxhdpi/ic_launcher.png
rename to android/src/debug/res/drawable-xxxhdpi/ic_launcher.png
rename from android/debug/res/drawable-xxxhdpi/ic_launcher.png
rename to android/src/debug/res/drawable-xxxhdpi/ic_launcher.png
diff --git a/android/debug/res/drawable/ic_launcher_foreground.xml b/android/src/debug/res/drawable/ic_launcher_foreground.xml
similarity index 100%
rename from android/debug/res/drawable/ic_launcher_foreground.xml
rename to android/src/debug/res/drawable/ic_launcher_foreground.xml
rename from android/debug/res/drawable/ic_launcher_foreground.xml
rename to android/src/debug/res/drawable/ic_launcher_foreground.xml
similarity index 100%
rename from android/debug/res/values/strings.xml
rename to android/src/debug/res/values/strings.xml
rename from android/debug/res/values/strings.xml
rename to android/src/debug/res/values/strings.xml
similarity index 100%
rename from android/AndroidManifest.xml
rename to android/src/main/AndroidManifest.xml
rename from android/AndroidManifest.xml
rename to android/src/main/AndroidManifest.xml
diff --git a/android/src/main/assets b/android/src/main/assets
--- /dev/null
+++ b/android/src/main/assets
@@ -0,0 +1 @@
+../../../assets
\ No newline at end of file
diff --git a/android/src/ru/deadsoftware/cavedroid/AndroidLauncher.kt b/android/src/main/kotlin/ru/deadsoftware/cavedroid/AndroidLauncher.kt
similarity index 100%
rename from android/src/ru/deadsoftware/cavedroid/AndroidLauncher.kt
rename to android/src/main/kotlin/ru/deadsoftware/cavedroid/AndroidLauncher.kt
rename from android/src/ru/deadsoftware/cavedroid/AndroidLauncher.kt
rename to android/src/main/kotlin/ru/deadsoftware/cavedroid/AndroidLauncher.kt
diff --git a/android/src/ru/deadsoftware/cavedroid/AndroidPreferencesStore.kt b/android/src/main/kotlin/ru/deadsoftware/cavedroid/AndroidPreferencesStore.kt
similarity index 100%
rename from android/src/ru/deadsoftware/cavedroid/AndroidPreferencesStore.kt
rename to android/src/main/kotlin/ru/deadsoftware/cavedroid/AndroidPreferencesStore.kt
rename from android/src/ru/deadsoftware/cavedroid/AndroidPreferencesStore.kt
rename to android/src/main/kotlin/ru/deadsoftware/cavedroid/AndroidPreferencesStore.kt
diff --git a/android/res/drawable-anydpi-v26/ic_launcher.xml b/android/src/main/res/drawable-anydpi-v26/ic_launcher.xml
similarity index 100%
rename from android/res/drawable-anydpi-v26/ic_launcher.xml
rename to android/src/main/res/drawable-anydpi-v26/ic_launcher.xml
rename from android/res/drawable-anydpi-v26/ic_launcher.xml
rename to android/src/main/res/drawable-anydpi-v26/ic_launcher.xml
diff --git a/android/res/drawable-hdpi/ic_launcher.png b/android/src/main/res/drawable-hdpi/ic_launcher.png
similarity index 100%
rename from android/res/drawable-hdpi/ic_launcher.png
rename to android/src/main/res/drawable-hdpi/ic_launcher.png
rename from android/res/drawable-hdpi/ic_launcher.png
rename to android/src/main/res/drawable-hdpi/ic_launcher.png
diff --git a/android/res/drawable-mdpi/ic_launcher.png b/android/src/main/res/drawable-mdpi/ic_launcher.png
similarity index 100%
rename from android/res/drawable-mdpi/ic_launcher.png
rename to android/src/main/res/drawable-mdpi/ic_launcher.png
rename from android/res/drawable-mdpi/ic_launcher.png
rename to android/src/main/res/drawable-mdpi/ic_launcher.png
diff --git a/android/res/drawable-xhdpi/ic_launcher.png b/android/src/main/res/drawable-xhdpi/ic_launcher.png
similarity index 100%
rename from android/res/drawable-xhdpi/ic_launcher.png
rename to android/src/main/res/drawable-xhdpi/ic_launcher.png
rename from android/res/drawable-xhdpi/ic_launcher.png
rename to android/src/main/res/drawable-xhdpi/ic_launcher.png
diff --git a/android/res/drawable-xxhdpi/ic_launcher.png b/android/src/main/res/drawable-xxhdpi/ic_launcher.png
similarity index 100%
rename from android/res/drawable-xxhdpi/ic_launcher.png
rename to android/src/main/res/drawable-xxhdpi/ic_launcher.png
rename from android/res/drawable-xxhdpi/ic_launcher.png
rename to android/src/main/res/drawable-xxhdpi/ic_launcher.png
diff --git a/android/res/drawable-xxxhdpi/ic_launcher.png b/android/src/main/res/drawable-xxxhdpi/ic_launcher.png
similarity index 100%
rename from android/res/drawable-xxxhdpi/ic_launcher.png
rename to android/src/main/res/drawable-xxxhdpi/ic_launcher.png
rename from android/res/drawable-xxxhdpi/ic_launcher.png
rename to android/src/main/res/drawable-xxxhdpi/ic_launcher.png
diff --git a/android/res/drawable/ic_launcher_background.xml b/android/src/main/res/drawable/ic_launcher_background.xml
similarity index 100%
rename from android/res/drawable/ic_launcher_background.xml
rename to android/src/main/res/drawable/ic_launcher_background.xml
rename from android/res/drawable/ic_launcher_background.xml
rename to android/src/main/res/drawable/ic_launcher_background.xml
diff --git a/android/res/drawable/ic_launcher_foreground.xml b/android/src/main/res/drawable/ic_launcher_foreground.xml
similarity index 100%
rename from android/res/drawable/ic_launcher_foreground.xml
rename to android/src/main/res/drawable/ic_launcher_foreground.xml
rename from android/res/drawable/ic_launcher_foreground.xml
rename to android/src/main/res/drawable/ic_launcher_foreground.xml
similarity index 100%
rename from android/res/values/strings.xml
rename to android/src/main/res/values/strings.xml
rename from android/res/values/strings.xml
rename to android/src/main/res/values/strings.xml
similarity index 100%
rename from android/res/values/styles.xml
rename to android/src/main/res/values/styles.xml
rename from android/res/values/styles.xml
rename to android/src/main/res/values/styles.xml
similarity index 100%
rename from android/res/xml/backup_descriptor.xml
rename to android/src/main/res/xml/backup_descriptor.xml
rename from android/res/xml/backup_descriptor.xml
rename to android/src/main/res/xml/backup_descriptor.xml
diff --git a/build.gradle b/build.gradle
--- a/build.gradle
+++ /dev/null
@@ -1,44 +0,0 @@
-buildscript {
- ext {
- appName = "CaveDroid"
-
- gdxVersion = '1.12.0'
-
- guavaVersion = '28.1'
-
- daggerVersion = '2.51.1'
-
- kotlinVersion = '1.9.24'
- kspVersion = '1.9.24-1.0.20'
- kotlinSerializationVersion = '1.6.3'
-
- kotlinpoetKspVersion = '1.16.0'
- }
-
- repositories {
- mavenLocal()
- mavenCentral()
- maven { url "https://plugins.gradle.org/m2/" }
- maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
- google()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:8.2.2'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
- }
-}
-
-allprojects {
- version = 'alpha0.9.2'
-
- repositories {
- mavenLocal()
- mavenCentral()
- google()
- maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
- maven { url "https://oss.sonatype.org/content/repositories/releases/" }
- maven { url "https://jitpack.io" }
- maven { url "https://mvn.fredboy.ru/releases/" }
- }
-}
diff --git a/build.gradle.kts b/build.gradle.kts
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,30 @@
+buildscript {
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ google()
+ maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }
+ maven { url = uri("https://oss.sonatype.org/content/repositories/releases/") }
+ maven { url = uri("https://jitpack.io") }
+ maven { url = uri("https://mvn.fredboy.ru/releases/") }
+ }
+
+ dependencies {
+ classpath(Dependencies.androidGradlePlugin)
+ classpath(Dependencies.Kotlin.gradlePlugin)
+ }
+}
+
+allprojects {
+ version = ApplicationInfo.versionName
+
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ google()
+ maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }
+ maven { url = uri("https://oss.sonatype.org/content/repositories/releases/") }
+ maven { url = uri("https://jitpack.io") }
+ maven { url = uri("https://mvn.fredboy.ru/releases/") }
+ }
+}
\ No newline at end of file
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
--- /dev/null
@@ -0,0 +1,7 @@
+plugins {
+ `kotlin-dsl`
+}
+
+repositories {
+ mavenCentral()
+}
diff --git a/buildSrc/src/main/kotlin/ApplicationInfo.kt b/buildSrc/src/main/kotlin/ApplicationInfo.kt
--- /dev/null
@@ -0,0 +1,11 @@
+import org.gradle.api.JavaVersion
+
+object ApplicationInfo {
+ const val name = "CaveDroid"
+ const val versionName = "alpha0.9.2"
+ const val versionCode = 25
+
+ const val packageName = "ru.deadsoftware.cavedroid"
+
+ val sourceCompatibility = JavaVersion.VERSION_17
+}
\ No newline at end of file
diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt
--- /dev/null
@@ -0,0 +1,49 @@
+object Dependencies {
+
+ object LibGDX {
+ const val gdx = "com.badlogicgames.gdx:gdx:${Versions.gdx}"
+
+ object Android {
+ const val backend = "com.badlogicgames.gdx:gdx-backend-android:${Versions.gdx}"
+
+ object Natives {
+ const val armeabi = "com.badlogicgames.gdx:gdx-platform:${Versions.gdx}:natives-armeabi-v7a"
+ const val arm64 = "com.badlogicgames.gdx:gdx-platform:${Versions.gdx}:natives-arm64-v8a"
+ const val x86 = "com.badlogicgames.gdx:gdx-platform:${Versions.gdx}:natives-x86"
+ const val x86_64 = "com.badlogicgames.gdx:gdx-platform:${Versions.gdx}:natives-x86_64"
+ }
+ }
+
+ object Desktop {
+ const val backend = "com.badlogicgames.gdx:gdx-backend-lwjgl3:${Versions.gdx}"
+ const val natives = "com.badlogicgames.gdx:gdx-platform:${Versions.gdx}:natives-desktop"
+ }
+ }
+
+ object Dagger {
+ const val dagger = "com.google.dagger:dagger:${Versions.dagger}"
+ const val compiler = "com.google.dagger:dagger-compiler:${Versions.dagger}"
+ }
+
+ object Kotlin {
+ const val gradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
+ const val bom = "org.jetbrains.kotlin:kotlin-bom:${Versions.kotlin}"
+ const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib:${Versions.kotlin}"
+
+ object Serialization {
+ const val json = "org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.kotlinxSerialization}"
+ const val protobuf = "org.jetbrains.kotlinx:kotlinx-serialization-protobuf:${Versions.kotlinxSerialization}"
+ }
+ }
+
+ object Automultibind {
+ const val annotations = "ru.fredboy:automultibind-annotations:${Versions.automultibind}"
+ const val ksp = "ru.fredboy:automultibind-ksp:${Versions.automultibind}"
+ }
+
+ const val androidGradlePlugin = "com.android.tools.build:gradle:${Versions.agp}"
+
+ // TODO: Remove after complete kotlin migration
+ const val jetbrainsAnnotations = "org.jetbrains:annotations:${Versions.jetbrainsAnnotations}"
+
+}
\ No newline at end of file
diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt
--- /dev/null
@@ -0,0 +1,63 @@
+object Versions {
+
+ /**
+ * Android gradle plugin version
+ */
+ const val agp = "8.2.2"
+
+ /**
+ * LibGDX version
+ *
+ * [Source](https://github.com/libgdx/libgdx)
+ */
+ const val gdx = "1.12.0"
+
+ /**
+ * Dagger version
+ *
+ * [Source](https://github.com/google/dagger)
+ */
+ const val dagger = "2.51.1"
+
+ /**
+ * Kotlin version
+ *
+ * [Source](https://github.com/JetBrains/kotlin)
+ */
+ const val kotlin = "1.9.24"
+
+ /**
+ * Kotlinx serialization version
+ *
+ * [Source](https://github.com/Kotlin/kotlinx.serialization/)
+ */
+ const val kotlinxSerialization = "1.6.3"
+
+ /**
+ * Kotlin Symbol Processing version
+ *
+ * [Source](https://github.com/google/ksp)
+ */
+ const val ksp = "1.9.24-1.0.20"
+
+ /**
+ * Kotlin poet version
+ *
+ * [Source](https://github.com/square/kotlinpoet)
+ */
+ const val kotlinPoetKsp = "1.16.0"
+
+ /**
+ * JetBrains annotations version
+ *
+ * [Source](https://github.com/JetBrains/java-annotations)
+ */
+ const val jetbrainsAnnotations = "23.1.0"
+
+ /**
+ * Automultibind version
+ *
+ * [Source](https://github.com/fredboy/automultibind)
+ */
+ const val automultibind = "1.0.0"
+}
\ No newline at end of file
diff --git a/core/build.gradle b/core/build.gradle
--- a/core/build.gradle
+++ /dev/null
@@ -1,26 +0,0 @@
-plugins {
- id "java-library"
- id "org.jetbrains.kotlin.jvm"
- id "kotlin"
- id "idea"
- id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlinVersion"
- id 'com.google.devtools.ksp' version "$kspVersion"
-}
-
-java.targetCompatibility = JavaVersion.VERSION_17
-java.sourceCompatibility = JavaVersion.VERSION_17
-
-sourceSets.main.java.srcDirs = ["src/"]
-
-dependencies {
- implementation "ru.fredboy:automultibind-annotations:1.0.0"
- ksp "ru.fredboy:automultibind-ksp:1.0.0"
-
- api "com.badlogicgames.gdx:gdx:$gdxVersion"
- api "com.google.dagger:dagger:$daggerVersion"
- implementation 'org.jetbrains:annotations:23.1.0'
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinSerializationVersion"
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-protobuf:$kotlinSerializationVersion"
- ksp "com.google.dagger:dagger-compiler:$daggerVersion"
-}
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
--- /dev/null
+++ b/core/build.gradle.kts
@@ -0,0 +1,26 @@
+plugins {
+ id("java-library")
+ id("org.jetbrains.kotlin.jvm")
+ id("kotlin")
+ id("idea")
+ id("org.jetbrains.kotlin.plugin.serialization") version Versions.kotlin
+ id ("com.google.devtools.ksp") version Versions.ksp
+}
+
+java.sourceCompatibility = ApplicationInfo.sourceCompatibility
+java.targetCompatibility = ApplicationInfo.sourceCompatibility
+
+dependencies {
+ implementation(Dependencies.Automultibind.annotations)
+ ksp(Dependencies.Automultibind.ksp)
+
+ implementation(Dependencies.LibGDX.gdx)
+ implementation(Dependencies.Dagger.dagger)
+
+ implementation(Dependencies.jetbrainsAnnotations)
+ implementation(Dependencies.Kotlin.stdlib)
+ implementation(Dependencies.Kotlin.Serialization.json)
+ implementation(Dependencies.Kotlin.Serialization.protobuf)
+
+ ksp(Dependencies.Dagger.compiler)
+}
\ No newline at end of file
diff --git a/core/src/ru/deadsoftware/cavedroid/MainConfig.java b/core/src/main/java/ru/deadsoftware/cavedroid/MainConfig.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/MainConfig.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/MainConfig.java
rename from core/src/ru/deadsoftware/cavedroid/MainConfig.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/MainConfig.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameComponent.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GameComponent.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameComponent.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameComponent.java
rename from core/src/ru/deadsoftware/cavedroid/game/GameComponent.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameComponent.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameModule.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GameModule.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameModule.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameModule.java
rename from core/src/ru/deadsoftware/cavedroid/game/GameModule.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameModule.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GamePhysics.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GamePhysics.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GamePhysics.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GamePhysics.java
rename from core/src/ru/deadsoftware/cavedroid/game/GamePhysics.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GamePhysics.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameProc.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GameProc.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameProc.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameProc.java
rename from core/src/ru/deadsoftware/cavedroid/game/GameProc.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameProc.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameRenderer.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GameRenderer.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameRenderer.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameRenderer.java
rename from core/src/ru/deadsoftware/cavedroid/game/GameRenderer.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameRenderer.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameScope.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GameScope.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameScope.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameScope.java
rename from core/src/ru/deadsoftware/cavedroid/game/GameScope.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameScope.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameScreen.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GameScreen.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameScreen.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameScreen.java
rename from core/src/ru/deadsoftware/cavedroid/game/GameScreen.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameScreen.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameUiWindow.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/GameUiWindow.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameUiWindow.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameUiWindow.java
rename from core/src/ru/deadsoftware/cavedroid/game/GameUiWindow.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/GameUiWindow.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/Mob.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/mobs/Mob.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/Mob.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/mobs/Mob.java
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/Mob.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/mobs/Mob.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/player/Player.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/mobs/player/Player.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/player/Player.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/mobs/player/Player.java
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/player/Player.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/mobs/player/Player.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/TouchButton.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/objects/TouchButton.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/objects/TouchButton.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/objects/TouchButton.java
rename from core/src/ru/deadsoftware/cavedroid/game/objects/TouchButton.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/objects/TouchButton.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/drop/DropController.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/objects/drop/DropController.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/objects/drop/DropController.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/objects/drop/DropController.java
rename from core/src/ru/deadsoftware/cavedroid/game/objects/drop/DropController.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/objects/drop/DropController.java
diff --git a/core/src/ru/deadsoftware/cavedroid/game/world/GameWorld.java b/core/src/main/java/ru/deadsoftware/cavedroid/game/world/GameWorld.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorld.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/world/GameWorld.java
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorld.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/game/world/GameWorld.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/MenuComponent.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuComponent.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuComponent.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuComponent.java
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuComponent.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuComponent.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/MenuProc.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuProc.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuProc.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuProc.java
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuProc.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuProc.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/MenuScope.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuScope.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuScope.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuScope.java
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuScope.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuScope.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/MenuScreen.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuScreen.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuScreen.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuScreen.java
rename from core/src/ru/deadsoftware/cavedroid/menu/MenuScreen.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/MenuScreen.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/objects/Button.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/Button.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/Button.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/Button.java
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/Button.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/Button.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/objects/ButtonEventListener.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/ButtonEventListener.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/ButtonEventListener.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/ButtonEventListener.java
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/ButtonEventListener.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/ButtonEventListener.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/objects/ButtonRenderer.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/ButtonRenderer.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/ButtonRenderer.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/ButtonRenderer.java
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/ButtonRenderer.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/objects/ButtonRenderer.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/submenus/Menu.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/Menu.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/Menu.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/Menu.java
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/Menu.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/Menu.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuMain.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/MenuMain.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuMain.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/MenuMain.java
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuMain.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/MenuMain.java
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuNewGame.java b/core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/MenuNewGame.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuNewGame.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/MenuNewGame.java
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuNewGame.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/menu/submenus/MenuNewGame.java
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/Assets.java b/core/src/main/java/ru/deadsoftware/cavedroid/misc/Assets.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/Assets.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/misc/Assets.java
rename from core/src/ru/deadsoftware/cavedroid/misc/Assets.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/misc/Assets.java
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/Renderer.java b/core/src/main/java/ru/deadsoftware/cavedroid/misc/Renderer.java
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/Renderer.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/misc/Renderer.java
rename from core/src/ru/deadsoftware/cavedroid/misc/Renderer.java
rename to core/src/main/java/ru/deadsoftware/cavedroid/misc/Renderer.java
diff --git a/core/src/ru/deadsoftware/cavedroid/CaveGame.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/CaveGame.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/CaveGame.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/CaveGame.kt
rename from core/src/ru/deadsoftware/cavedroid/CaveGame.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/CaveGame.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/MainComponent.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/MainComponent.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/MainComponent.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/MainComponent.kt
rename from core/src/ru/deadsoftware/cavedroid/MainComponent.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/MainComponent.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameItemsHolder.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/GameItemsHolder.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/GameItemsHolder.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/GameItemsHolder.kt
rename from core/src/ru/deadsoftware/cavedroid/game/GameItemsHolder.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/GameItemsHolder.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/CommonBlockActionUtils.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/CommonBlockActionUtils.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/CommonBlockActionUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/CommonBlockActionUtils.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/CommonBlockActionUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/CommonBlockActionUtils.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/placeblock/IPlaceBlockAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/placeblock/IPlaceBlockAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/placeblock/IPlaceBlockAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/placeblock/IPlaceBlockAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/placeblock/IPlaceBlockAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/placeblock/IPlaceBlockAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/placeblock/PlaceSlabAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/placeblock/PlaceSlabAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/placeblock/PlaceSlabAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/placeblock/PlaceSlabAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/placeblock/PlaceSlabAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/placeblock/PlaceSlabAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/IUpdateBlockAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/IUpdateBlockAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/IUpdateBlockAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/IUpdateBlockAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/IUpdateBlockAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/IUpdateBlockAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedLeftAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedLeftAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedLeftAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedLeftAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedLeftAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedLeftAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedRightAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedRightAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedRightAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedRightAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedRightAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateBedRightAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateGrassAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateGrassAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateGrassAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateGrassAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateGrassAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/updateblock/UpdateGrassAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useblock/IUseBlockAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/IUseBlockAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/IUseBlockAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/IUseBlockAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/IUseBlockAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/IUseBlockAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseChestAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseChestAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseChestAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseChestAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseChestAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseChestAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseCraftingTableAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseCraftingTableAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseCraftingTableAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseCraftingTableAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseCraftingTableAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseCraftingTableAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseFurnaceAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseFurnaceAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseFurnaceAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseFurnaceAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useblock/UseFurnaceAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useblock/UseFurnaceAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useitem/IUseItemAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/IUseItemAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/IUseItemAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/IUseItemAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/IUseItemAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/IUseItemAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseBedAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseBedAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseBedAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseBedAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseBedAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseBedAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseEmptyBucketAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseEmptyBucketAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseEmptyBucketAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseEmptyBucketAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseEmptyBucketAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseEmptyBucketAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseLavaBucketAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseLavaBucketAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseLavaBucketAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseLavaBucketAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseLavaBucketAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseLavaBucketAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UsePigSpawnEggAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UsePigSpawnEggAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UsePigSpawnEggAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UsePigSpawnEggAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UsePigSpawnEggAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UsePigSpawnEggAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseWaterBucketAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseWaterBucketAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseWaterBucketAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseWaterBucketAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/actions/useitem/UseWaterBucketAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/actions/useitem/UseWaterBucketAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/debug/DebugInfoStringsProvider.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/debug/DebugInfoStringsProvider.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/debug/DebugInfoStringsProvider.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/debug/DebugInfoStringsProvider.kt
rename from core/src/ru/deadsoftware/cavedroid/game/debug/DebugInfoStringsProvider.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/debug/DebugInfoStringsProvider.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/IGameInputHandler.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/IGameInputHandler.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/IGameInputHandler.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/IGameInputHandler.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/IGameInputHandler.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/IGameInputHandler.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/InputUtils.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/InputUtils.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/InputUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/InputUtils.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/InputUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/InputUtils.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/Joystick.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/Joystick.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/Joystick.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/Joystick.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/Joystick.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/Joystick.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/action/IGameInputAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/IGameInputAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/IGameInputAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/IGameInputAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/IGameInputAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/IGameInputAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/action/KeyboardInputAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/KeyboardInputAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/KeyboardInputAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/KeyboardInputAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/KeyboardInputAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/KeyboardInputAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/action/MouseInputAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/MouseInputAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/MouseInputAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/MouseInputAction.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/MouseInputAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/MouseInputAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/action/keys/KeyboardInputActionKey.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/keys/KeyboardInputActionKey.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/keys/KeyboardInputActionKey.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/keys/KeyboardInputActionKey.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/keys/KeyboardInputActionKey.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/keys/KeyboardInputActionKey.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/action/keys/MouseInputActionKey.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/keys/MouseInputActionKey.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/keys/MouseInputActionKey.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/keys/MouseInputActionKey.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/action/keys/MouseInputActionKey.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/action/keys/MouseInputActionKey.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/handler/touch/JoystickInputHandler.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/handler/touch/JoystickInputHandler.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/handler/touch/JoystickInputHandler.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/handler/touch/JoystickInputHandler.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/handler/touch/JoystickInputHandler.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/handler/touch/JoystickInputHandler.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/mapper/MouseInputActionMapper.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/mapper/MouseInputActionMapper.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/input/mapper/MouseInputActionMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/mapper/MouseInputActionMapper.kt
rename from core/src/ru/deadsoftware/cavedroid/game/input/mapper/MouseInputActionMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/input/mapper/MouseInputActionMapper.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/FallingBlock.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/FallingBlock.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/FallingBlock.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/FallingBlock.kt
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/FallingBlock.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/FallingBlock.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/MobSaveDataMapper.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/MobSaveDataMapper.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/MobSaveDataMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/MobSaveDataMapper.kt
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/MobSaveDataMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/MobSaveDataMapper.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/MobsController.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/MobsController.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/MobsController.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/MobsController.kt
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/MobsController.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/MobsController.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/PeacefulMob.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/PeacefulMob.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/PeacefulMob.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/PeacefulMob.kt
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/PeacefulMob.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/PeacefulMob.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/Pig.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/Pig.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/Pig.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/Pig.kt
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/Pig.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/Pig.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/mobs/player/Inventory.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/player/Inventory.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/player/Inventory.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/player/Inventory.kt
rename from core/src/ru/deadsoftware/cavedroid/game/mobs/player/Inventory.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/mobs/player/Inventory.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/block/Block.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/Block.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/Block.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/Block.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/Block.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/Block.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/block/BlockAnimationInfo.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockAnimationInfo.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/BlockAnimationInfo.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockAnimationInfo.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/BlockAnimationInfo.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockAnimationInfo.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/block/BlockDropInfo.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockDropInfo.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/BlockDropInfo.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockDropInfo.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/BlockDropInfo.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockDropInfo.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/block/BlockMargins.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockMargins.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/BlockMargins.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockMargins.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/BlockMargins.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/BlockMargins.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/block/CommonBlockParams.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/CommonBlockParams.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/CommonBlockParams.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/CommonBlockParams.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/block/CommonBlockParams.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/block/CommonBlockParams.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/craft/CraftingRecipe.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/craft/CraftingRecipe.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/craft/CraftingRecipe.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/craft/CraftingRecipe.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/craft/CraftingRecipe.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/craft/CraftingRecipe.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/BlockDto.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/CraftingDto.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/CraftingDto.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/CraftingDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/CraftingDto.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/CraftingDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/CraftingDto.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/GameItemsDto.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/GameItemsDto.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/GameItemsDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/GameItemsDto.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/GameItemsDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/GameItemsDto.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/dto/SaveDataDto.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/SaveDataDto.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/SaveDataDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/SaveDataDto.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/dto/SaveDataDto.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/dto/SaveDataDto.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/item/CommonItemParams.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/CommonItemParams.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/item/CommonItemParams.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/CommonItemParams.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/item/CommonItemParams.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/CommonItemParams.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/item/Item.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/Item.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/item/Item.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/Item.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/item/Item.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/item/Item.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/mapper/BlockMapper.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/mapper/BlockMapper.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/mapper/BlockMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/mapper/BlockMapper.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/mapper/BlockMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/mapper/BlockMapper.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/mapper/ItemMapper.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/mapper/ItemMapper.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/mapper/ItemMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/mapper/ItemMapper.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/mapper/ItemMapper.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/mapper/ItemMapper.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/world/Biome.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/world/Biome.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/model/world/Biome.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/world/Biome.kt
rename from core/src/ru/deadsoftware/cavedroid/game/model/world/Biome.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/model/world/Biome.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/container/Chest.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Chest.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/Chest.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Chest.kt
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/Chest.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Chest.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/container/Container.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Container.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/Container.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Container.kt
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/Container.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Container.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/container/ContainerController.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/ContainerController.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/ContainerController.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/ContainerController.kt
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/ContainerController.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/ContainerController.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/container/Furnace.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Furnace.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/Furnace.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Furnace.kt
rename from core/src/ru/deadsoftware/cavedroid/game/objects/container/Furnace.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/container/Furnace.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/objects/drop/Drop.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/drop/Drop.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/objects/drop/Drop.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/drop/Drop.kt
rename from core/src/ru/deadsoftware/cavedroid/game/objects/drop/Drop.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/objects/drop/Drop.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/BackgroundBlocksRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/BackgroundBlocksRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/BackgroundBlocksRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/BackgroundBlocksRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/BackgroundBlocksRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/BackgroundBlocksRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/BlocksRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/BlocksRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/BlocksRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/BlocksRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/BlocksRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/BlocksRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/DebugRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/DebugRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/DebugRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/DebugRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/DebugRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/DebugRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/DropsRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/DropsRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/DropsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/DropsRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/DropsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/DropsRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/ForegroundBlocksRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/ForegroundBlocksRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/ForegroundBlocksRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/ForegroundBlocksRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/ForegroundBlocksRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/ForegroundBlocksRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/HudRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/HudRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/HudRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/HudRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/HudRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/HudRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/IGameRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/IGameRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/IGameRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/IGameRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/IGameRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/IGameRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/MobsRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/MobsRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/MobsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/MobsRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/MobsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/MobsRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/TouchControlsRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/TouchControlsRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/TouchControlsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/TouchControlsRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/TouchControlsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/TouchControlsRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/WindowsRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/WindowsRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/WindowsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/WindowsRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/WindowsRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/WindowsRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/windows/AbstractWindowRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/AbstractWindowRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/AbstractWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/AbstractWindowRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/AbstractWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/AbstractWindowRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/windows/ChestWindowRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/ChestWindowRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/ChestWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/ChestWindowRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/ChestWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/ChestWindowRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/windows/CraftingWindowRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/CraftingWindowRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/CraftingWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/CraftingWindowRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/CraftingWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/CraftingWindowRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/windows/CreativeWindowRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/CreativeWindowRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/CreativeWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/CreativeWindowRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/CreativeWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/CreativeWindowRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/windows/FurnaceWindowRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/FurnaceWindowRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/FurnaceWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/FurnaceWindowRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/FurnaceWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/FurnaceWindowRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/render/windows/SurvivalWindowRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/SurvivalWindowRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/SurvivalWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/SurvivalWindowRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/game/render/windows/SurvivalWindowRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/render/windows/SurvivalWindowRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/save/GameSaveData.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/save/GameSaveData.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/save/GameSaveData.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/save/GameSaveData.kt
rename from core/src/ru/deadsoftware/cavedroid/game/save/GameSaveData.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/save/GameSaveData.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/save/GameSaveLoader.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/save/GameSaveLoader.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/save/GameSaveLoader.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/save/GameSaveLoader.kt
rename from core/src/ru/deadsoftware/cavedroid/game/save/GameSaveLoader.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/save/GameSaveLoader.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/ui/TooltipManager.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/TooltipManager.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/ui/TooltipManager.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/TooltipManager.kt
rename from core/src/ru/deadsoftware/cavedroid/game/ui/TooltipManager.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/TooltipManager.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsConfigs.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsConfigs.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsConfigs.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsConfigs.kt
rename from core/src/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsConfigs.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsConfigs.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsManager.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsManager.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsManager.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsManager.kt
rename from core/src/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsManager.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/GameWindowsManager.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/ui/windows/inventory/ChestInventoryWindow.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/inventory/ChestInventoryWindow.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/ui/windows/inventory/ChestInventoryWindow.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/inventory/ChestInventoryWindow.kt
rename from core/src/ru/deadsoftware/cavedroid/game/ui/windows/inventory/ChestInventoryWindow.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/ui/windows/inventory/ChestInventoryWindow.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/world/GameWorldBlocksLogicControllerTask.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldBlocksLogicControllerTask.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldBlocksLogicControllerTask.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldBlocksLogicControllerTask.kt
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldBlocksLogicControllerTask.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldBlocksLogicControllerTask.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/world/GameWorldFluidsLogicControllerTask.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldFluidsLogicControllerTask.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldFluidsLogicControllerTask.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldFluidsLogicControllerTask.kt
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldFluidsLogicControllerTask.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldFluidsLogicControllerTask.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/world/GameWorldGenerator.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldGenerator.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldGenerator.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldGenerator.kt
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldGenerator.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldGenerator.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/world/GameWorldMobDamageControllerTask.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldMobDamageControllerTask.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldMobDamageControllerTask.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldMobDamageControllerTask.kt
rename from core/src/ru/deadsoftware/cavedroid/game/world/GameWorldMobDamageControllerTask.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/game/world/GameWorldMobDamageControllerTask.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/objects/BooleanOptionButton.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/objects/BooleanOptionButton.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/BooleanOptionButton.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/objects/BooleanOptionButton.kt
rename from core/src/ru/deadsoftware/cavedroid/menu/objects/BooleanOptionButton.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/objects/BooleanOptionButton.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuOptions.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/submenus/MenuOptions.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuOptions.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/submenus/MenuOptions.kt
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenuOptions.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/submenus/MenuOptions.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/menu/submenus/MenusFactory.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/submenus/MenusFactory.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenusFactory.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/submenus/MenusFactory.kt
rename from core/src/ru/deadsoftware/cavedroid/menu/submenus/MenusFactory.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/menu/submenus/MenusFactory.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/Saveable.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/Saveable.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/Saveable.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/Saveable.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/Saveable.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/Saveable.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/annotations/multibinding/BindRenderer.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/annotations/multibind/BindRenderer.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/annotations/multibinding/BindRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/annotations/multibind/BindRenderer.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/annotations/multibinding/BindRenderer.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/annotations/multibind/BindRenderer.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/annotations/multibinding/BindUseItemAction.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/annotations/multibind/BindUseItemAction.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/annotations/multibinding/BindUseItemAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/annotations/multibind/BindUseItemAction.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/annotations/multibinding/BindUseItemAction.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/annotations/multibind/BindUseItemAction.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/ArrayMapExtensions.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/ArrayMapExtensions.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/ArrayMapExtensions.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/ArrayMapExtensions.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/ArrayMapExtensions.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/ArrayMapExtensions.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/AssetLoader.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/AssetLoader.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/AssetLoader.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/AssetLoader.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/AssetLoader.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/AssetLoader.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/GdxExtensions.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/GdxExtensions.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/GdxExtensions.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/GdxExtensions.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/GdxExtensions.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/GdxExtensions.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/ItemUtils.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/ItemUtils.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/ItemUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/ItemUtils.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/ItemUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/ItemUtils.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/MeasureUnitsUtils.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/MeasureUnitsUtils.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/MeasureUnitsUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/MeasureUnitsUtils.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/MeasureUnitsUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/MeasureUnitsUtils.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/RenderingUtils.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/RenderingUtils.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/RenderingUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/RenderingUtils.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/RenderingUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/RenderingUtils.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/SpriteOrigin.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/SpriteOrigin.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/SpriteOrigin.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/SpriteOrigin.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/SpriteOrigin.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/SpriteOrigin.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/SpriteUtils.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/SpriteUtils.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/SpriteUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/SpriteUtils.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/SpriteUtils.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/SpriteUtils.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/misc/utils/mobs/MobSprites.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/mobs/MobSprites.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/mobs/MobSprites.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/mobs/MobSprites.kt
rename from core/src/ru/deadsoftware/cavedroid/misc/utils/mobs/MobSprites.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/misc/utils/mobs/MobSprites.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/prefs/PreferencesStore.kt b/core/src/main/kotlin/ru/deadsoftware/cavedroid/prefs/PreferencesStore.kt
similarity index 100%
rename from core/src/ru/deadsoftware/cavedroid/prefs/PreferencesStore.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/prefs/PreferencesStore.kt
rename from core/src/ru/deadsoftware/cavedroid/prefs/PreferencesStore.kt
rename to core/src/main/kotlin/ru/deadsoftware/cavedroid/prefs/PreferencesStore.kt
diff --git a/desktop/assets b/desktop/assets
--- a/desktop/assets
+++ /dev/null
@@ -1 +0,0 @@
-../assets
\ No newline at end of file
diff --git a/desktop/build.gradle b/desktop/build.gradle
--- a/desktop/build.gradle
+++ /dev/null
@@ -1,50 +0,0 @@
-plugins {
- id 'java-library'
- id 'kotlin'
- id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlinVersion"
-}
-
-java.targetCompatibility = JavaVersion.VERSION_17
-java.sourceCompatibility = JavaVersion.VERSION_1_8
-
-sourceSets.main.java.srcDirs = ["src/"]
-sourceSets.main.resources.srcDirs = ["assets/"]
-
-project.ext.mainClassName = "ru.deadsoftware.cavedroid.desktop.DesktopLauncher"
-project.ext.assetsDir = new File("assets/")
-
-task run(dependsOn: build, type: JavaExec) {
- main = project.mainClassName
- classpath = sourceSets.main.runtimeClasspath
- standardInput = System.in
- workingDir = project.assetsDir
- ignoreExitValue = true as JavaExecSpec
- args "--debug"
-}
-
-task runTouch(dependsOn: build, type: JavaExec) {
- main = project.mainClassName
- classpath = sourceSets.main.runtimeClasspath
- standardInput = System.in
- workingDir = project.assetsDir
- ignoreExitValue = true as JavaExecSpec
- args "--touch", "--debug"
-}
-
-task dist(dependsOn: build, type: Jar) {
- duplicatesStrategy = DuplicatesStrategy.EXCLUDE
- manifest {
- attributes 'Main-Class': project.mainClassName
- }
- from {
- configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
- }
- with jar
-}
-
-dependencies {
- implementation project(":core")
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinSerializationVersion"
- api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
- api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
-}
diff --git a/desktop/build.gradle.kts b/desktop/build.gradle.kts
--- /dev/null
+++ b/desktop/build.gradle.kts
@@ -0,0 +1,41 @@
+plugins {
+ id("kotlin")
+}
+
+java.sourceCompatibility = ApplicationInfo.sourceCompatibility
+java.targetCompatibility = ApplicationInfo.sourceCompatibility
+
+private val desktopLauncherClassName = "ru.deadsoftware.cavedroid.desktop.DesktopLauncher"
+
+tasks.register<JavaExec>("run") {
+ dependsOn("build")
+ mainClass = desktopLauncherClassName
+ classpath = sourceSets["main"].runtimeClasspath
+ workingDir = sourceSets["main"].resources.sourceDirectories.first()
+ args("--debug")
+}
+
+tasks.register<JavaExec>("runTouch") {
+ dependsOn("build")
+ mainClass = desktopLauncherClassName
+ classpath = sourceSets["main"].runtimeClasspath
+ workingDir = sourceSets["main"].resources.sourceDirectories.first()
+ args("--touch", "--debug")
+}
+
+tasks.register<Jar>("dist") {
+ dependsOn("build")
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
+ manifest {
+ attributes["Main-Class"] = desktopLauncherClassName
+ }
+ from(configurations.runtimeClasspath.get().resolve().map { it.takeIf(File::isDirectory) ?: zipTree(it) })
+}
+
+dependencies {
+ implementation(project(":core"))
+
+ implementation(Dependencies.LibGDX.gdx)
+ implementation(Dependencies.LibGDX.Desktop.backend)
+ implementation(Dependencies.LibGDX.Desktop.natives)
+}
diff --git a/desktop/src/main/kotlin/ru/deadsoftware/cavedroid/desktop/DesktopLauncher.kt b/desktop/src/main/kotlin/ru/deadsoftware/cavedroid/desktop/DesktopLauncher.kt
--- /dev/null
@@ -0,0 +1,54 @@
+package ru.deadsoftware.cavedroid.desktop
+
+import com.badlogic.gdx.Files
+import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application
+import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration
+import ru.deadsoftware.cavedroid.CaveGame
+
+internal object DesktopLauncher {
+
+ @JvmStatic
+ fun main(arg: Array<String>) {
+ val config = Lwjgl3ApplicationConfiguration()
+
+ with(config) {
+ setWindowIcon(
+ /* fileType = */ Files.FileType.Internal,
+ /* ...filePaths = */ "icons/icon512.png", "icons/icon256.png", "icons/icon128.png"
+ )
+ setTitle("CaveDroid")
+ setWindowedMode(960, 540)
+ useVsync(true)
+ }
+
+ var touch = false
+ var debug = false
+ var assetsPath: String? = null
+
+ for (anArg in arg) {
+ if (anArg == "--touch") {
+ touch = true
+ }
+
+ if (anArg == "--debug") {
+ debug = true
+ }
+
+ if (anArg.startsWith("--assets")) {
+ val splitArg: Array<String> = anArg.split("=".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray()
+ if (splitArg.size >= 2) {
+ assetsPath = splitArg[1]
+ }
+ }
+ }
+
+ val caveGame = CaveGame(
+ gameDataDirectoryPath = System.getProperty("user.home") + "/.cavedroid",
+ isTouchScreen = touch,
+ isDebug = debug,
+ preferencesStore = DesktopPreferencesStore(),
+ )
+
+ Lwjgl3Application(caveGame, config)
+ }
+}
\ No newline at end of file
diff --git a/desktop/src/ru/deadsoftware/cavedroid/desktop/DesktopPreferencesStore.kt b/desktop/src/main/kotlin/ru/deadsoftware/cavedroid/desktop/DesktopPreferencesStore.kt
similarity index 100%
rename from desktop/src/ru/deadsoftware/cavedroid/desktop/DesktopPreferencesStore.kt
rename to desktop/src/main/kotlin/ru/deadsoftware/cavedroid/desktop/DesktopPreferencesStore.kt
rename from desktop/src/ru/deadsoftware/cavedroid/desktop/DesktopPreferencesStore.kt
rename to desktop/src/main/kotlin/ru/deadsoftware/cavedroid/desktop/DesktopPreferencesStore.kt
diff --git a/desktop/src/main/resources b/desktop/src/main/resources
--- /dev/null
@@ -0,0 +1 @@
+../../../assets
\ No newline at end of file
diff --git a/desktop/src/ru/deadsoftware/cavedroid/desktop/DesktopLauncher.java b/desktop/src/ru/deadsoftware/cavedroid/desktop/DesktopLauncher.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package ru.deadsoftware.cavedroid.desktop;
-
-import com.badlogic.gdx.Files;
-import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
-import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
-import ru.deadsoftware.cavedroid.CaveGame;
-
-class DesktopLauncher {
- public static void main(String[] arg) {
- Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
- config.setWindowIcon(Files.FileType.Internal,
- "icons/icon512.png", "icons/icon256.png", "icons/icon128.png");
- config.setTitle("CaveDroid");
- config.setWindowedMode(960, 540);
- config.useVsync(true);
-
- boolean touch = false;
- boolean debug = false;
- String assetsPath = null;
-
- for (String anArg : arg) {
- if (anArg.equals("--touch")) {
- touch = true;
- }
-
- if (anArg.equals("--debug")) {
- debug = true;
- }
-
- if (anArg.startsWith("--assets")) {
- String[] splitArg = anArg.split("=");
- if (splitArg.length >= 2) {
- assetsPath = splitArg[1];
- }
- }
- }
-
- CaveGame caveGame = new CaveGame(
- System.getProperty("user.home") + "/.cavedroid",
- touch,
- debug,
- new DesktopPreferencesStore()
- );
-
- new Lwjgl3Application(caveGame, config);
- }
-}
diff --git a/settings.gradle b/settings.gradle
--- a/settings.gradle
+++ /dev/null
@@ -1,2 +0,0 @@
-include 'desktop', 'android', 'core'
-
diff --git a/settings.gradle.kts b/settings.gradle.kts
--- /dev/null
+++ b/settings.gradle.kts
@@ -0,0 +1,3 @@
+include("android")
+include("desktop")
+include("core")