diff --git a/README.md b/README.md index 6b798ada..00cc170b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ In your Gradle version catalog, add: ```toml [libraries] # ... -maplibre-compose = { module = "dev.sargunv.maplibre:maplibre-compose", version = "0.1.0" } +maplibre-compose = { module = "dev.sargunv:maplibre-compose", version = "0.1.0" } ``` In your Gradle build script, add: diff --git a/build.gradle.kts b/build.gradle.kts index 9b3ee4b7..3926478d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,6 +9,7 @@ plugins { alias(libs.plugins.kotlin.cocoapods) apply false alias(libs.plugins.spotless) alias(libs.plugins.dokka) + alias(libs.plugins.maven.publish) apply false } subprojects { @@ -17,6 +18,7 @@ subprojects { } spotless { + kotlinGradle { ktfmt().googleStyle() } format("swift") { target("iosApp/iosApp/**/*.swift") nativeCmd("swiftFormat", "/usr/bin/env", listOf("swift", "format")) @@ -32,8 +34,4 @@ tasks.register("installGitHooks") { } } -tasks.named("clean") { - doLast { - delete("${rootProject.projectDir}/.git/hooks/pre-commit") - } -} +tasks.named("clean") { doLast { delete("${rootProject.projectDir}/.git/hooks/pre-commit") } } diff --git a/demo-app/build.gradle.kts b/demo-app/build.gradle.kts index 49106948..741c59db 100644 --- a/demo-app/build.gradle.kts +++ b/demo-app/build.gradle.kts @@ -72,7 +72,7 @@ kotlin { implementation(compose.material3) implementation(compose.runtime) implementation(compose.ui) - implementation(project(":maplibre-compose")) + implementation(project(":lib:maplibre-compose")) } androidMain.dependencies { implementation(libs.androidx.activity.compose) } diff --git a/gradle.properties b/gradle.properties index 964007c5..84574c90 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,16 @@ -#Kotlin kotlin.code.style=official kotlin.daemon.jvmargs=-Xmx2048M - -#Gradle org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 - -#Android android.nonTransitiveRClass=true -android.useAndroidX=true \ No newline at end of file +android.useAndroidX=true +SONATYPE_AUTOMATIC_RELEASE=true +POM_URL="https://github.com/sargunv/maplibre-compose/" +POM_LICENSE_NAME="BSD-3-Clause" +POM_LICENSE_URL="https://opensource.org/license/bsd-3-clause" +POM_LICENSE_DIST=repo +POM_SCM_URL="https://github.com/sargunv/maplibre-compose" +POM_SCM_CONNECTION=scm:git:git://github.com/sargunv/maplibre-compose.git +POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/sargunv/maplibre-compose.git +POM_DEVELOPER_ID=sargunv +POM_DEVELOPER_NAME=Sargun Vohra +POM_DEVELOPER_URL=https://github.com/sargunv/ diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 324148e9..4aa73bd0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,32 +3,27 @@ agp = "8.5.2" android-compileSdk = "34" android-minSdk = "24" android-targetSdk = "34" -androidx-activity-compose = "1.9.3" compose = "1.7.1" compose-androidx = "1.7.5" -dokka = "1.9.20" -kermit = "2.0.4" kotlin = "2.0.21" -maplibre-android = "11.6.1" maplibre-android-plugins = "3.0.2" maplibre-ios = "6.8.1" -spatialk-geojson = "0.3.0" -spotless = "7.0.0.BETA4" [libraries] -androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity-compose" } +androidx-activity-compose = { module = "androidx.activity:activity-compose", version = "1.9.3" } compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose-androidx" } -kermit = { group = "co.touchlab", name = "kermit", version.ref = "kermit" } -maplibre-android = { module = "org.maplibre.gl:android-sdk", version.ref = "maplibre-android" } +kermit = { group = "co.touchlab", name = "kermit", version = "2.0.4" } +maplibre-android = { module = "org.maplibre.gl:android-sdk", version = "11.6.1" } maplibre-android-plugin-annotation = { module = "org.maplibre.gl:android-plugin-annotation-v9", version.ref = "maplibre-android-plugins" } -spatialk-geojson = { group = "io.github.dellisd.spatialk", name = "geojson", version.ref = "spatialk-geojson" } +spatialk-geojson = { group = "io.github.dellisd.spatialk", name = "geojson", version = "0.3.0" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" } android-library = { id = "com.android.library", version.ref = "agp" } -dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } -jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "compose" } compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } +dokka = { id = "org.jetbrains.dokka", version = "1.9.20" } +jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "compose" } kotlin-cocoapods = { id = "org.jetbrains.kotlin.native.cocoapods", version.ref = "kotlin" } kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } -spotless = { id = "com.diffplug.spotless", version.ref = "spotless" } +maven-publish = { id = "com.vanniktech.maven.publish", version = "0.30.0" } +spotless = { id = "com.diffplug.spotless", version = "7.0.0.BETA4" } diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts new file mode 100644 index 00000000..d30849f1 --- /dev/null +++ b/lib/build.gradle.kts @@ -0,0 +1 @@ +subprojects { group = "dev.sargunv" } diff --git a/maplibre-compose/build.gradle.kts b/lib/maplibre-compose/build.gradle.kts similarity index 83% rename from maplibre-compose/build.gradle.kts rename to lib/maplibre-compose/build.gradle.kts index 72322940..1521a604 100644 --- a/maplibre-compose/build.gradle.kts +++ b/lib/maplibre-compose/build.gradle.kts @@ -1,5 +1,6 @@ @file:OptIn(ExperimentalKotlinGradlePluginApi::class, ExperimentalComposeLibrary::class) +import com.vanniktech.maven.publish.SonatypeHost import org.jetbrains.compose.ExperimentalComposeLibrary import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi import org.jetbrains.kotlin.gradle.dsl.JvmTarget @@ -13,6 +14,7 @@ plugins { alias(libs.plugins.compose.compiler) alias(libs.plugins.spotless) alias(libs.plugins.dokka) + alias(libs.plugins.maven.publish) } version = "0.1.0-SNAPSHOT" @@ -40,6 +42,7 @@ kotlin { androidTarget { compilerOptions { jvmTarget.set(JvmTarget.JVM_11) } instrumentedTestVariant.sourceSetTree.set(KotlinSourceSetTree.test) + publishLibraryVariants("release") } iosArm64() iosSimulatorArm64() @@ -99,4 +102,19 @@ spotless { } } -// tasks.get("test").dependsOn("connectedAndroidTest", "iosSimulatorArm64Test") +mavenPublishing { + coordinates( + groupId = "${project.group}", + artifactId = project.name, + version = "${project.version}", + ) + + pom { + name = "MapLibre Compose" + description = "Add interactive vector tile maps to your Compose app" + url = "https://github.com/sargunv/maplibre-compose" + } + + publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, true) + signAllPublications() +} diff --git a/maplibre-compose/src/androidInstrumentedTest/kotlin/dev/sargunv/maplibrecompose/compose/AndroidStyleManagerTest.kt b/lib/maplibre-compose/src/androidInstrumentedTest/kotlin/dev/sargunv/maplibrecompose/compose/AndroidStyleManagerTest.kt similarity index 100% rename from maplibre-compose/src/androidInstrumentedTest/kotlin/dev/sargunv/maplibrecompose/compose/AndroidStyleManagerTest.kt rename to lib/maplibre-compose/src/androidInstrumentedTest/kotlin/dev/sargunv/maplibrecompose/compose/AndroidStyleManagerTest.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/AndroidMapView.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/AndroidMapView.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/AndroidMapView.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/AndroidMapView.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/MapViewLifecycleEffect.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/MapViewLifecycleEffect.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/MapViewLifecycleEffect.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/compose/MapViewLifecycleEffect.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidMap.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidMap.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidMap.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidMap.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidStyle.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidStyle.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidStyle.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/AndroidStyle.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/MapViewLifecycleObserver.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/MapViewLifecycleObserver.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/MapViewLifecycleObserver.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/MapViewLifecycleObserver.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt diff --git a/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt b/lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt similarity index 100% rename from maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt rename to lib/maplibre-compose/src/androidMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/CameraState.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/CameraState.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/CameraState.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/CameraState.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/ComposableMapView.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/ComposableMapView.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/ComposableMapView.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/ComposableMapView.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/MaplibreMap.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/MaplibreMap.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/MaplibreMap.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/MaplibreMap.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/LayerNode.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/LayerNode.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/LayerNode.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/LayerNode.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNode.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNode.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNode.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNode.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNodeApplier.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNodeApplier.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNodeApplier.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/MapNodeApplier.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleManager.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleManager.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleManager.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleManager.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleNode.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleNode.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleNode.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/StyleNode.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/rememberStyleComposition.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/rememberStyleComposition.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/rememberStyleComposition.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/engine/rememberStyleComposition.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Anchor.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Anchor.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Anchor.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Anchor.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/BackgroundLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/BackgroundLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/BackgroundLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/BackgroundLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/CircleLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/CircleLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/CircleLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/CircleLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillExtrusionLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillExtrusionLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillExtrusionLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillExtrusionLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/FillLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HeatmapLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HeatmapLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HeatmapLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HeatmapLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HillshadeLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HillshadeLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HillshadeLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/HillshadeLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Layer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Layer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Layer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/Layer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LayerNode.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LayerNode.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LayerNode.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LayerNode.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LineLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LineLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LineLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/LineLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/RasterLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/RasterLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/RasterLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/RasterLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/SymbolLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/SymbolLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/SymbolLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/layer/SymbolLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/getBaseSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/getBaseSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/getBaseSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/getBaseSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberGeoJsonSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberGeoJsonSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberGeoJsonSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberGeoJsonSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberRasterSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberRasterSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberRasterSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberRasterSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberUserSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberUserSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberUserSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberUserSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberVectorSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberVectorSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberVectorSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/compose/source/rememberVectorSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/MaplibreMap.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/MaplibreMap.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/MaplibreMap.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/MaplibreMap.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/Style.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/Style.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/Style.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/Style.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/camera/CameraPosition.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/camera/CameraPosition.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/camera/CameraPosition.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/camera/CameraPosition.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/GestureSettings.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/GestureSettings.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/GestureSettings.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/GestureSettings.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/OrnamentSettings.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/OrnamentSettings.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/OrnamentSettings.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/OrnamentSettings.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/XY.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/XY.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/XY.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/data/XY.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/Expression.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/Expression.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/Expression.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/Expression.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/ExpressionScope.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/ExpressionScope.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/ExpressionScope.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/ExpressionScope.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/utils.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/utils.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/utils.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/expression/utils.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonOptions.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonOptions.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonOptions.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonOptions.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt diff --git a/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt b/lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt similarity index 100% rename from maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt rename to lib/maplibre-compose/src/commonMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt diff --git a/maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/FakeStyle.kt b/lib/maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/FakeStyle.kt similarity index 100% rename from maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/FakeStyle.kt rename to lib/maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/FakeStyle.kt diff --git a/maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/StyleManagerTest.kt b/lib/maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/StyleManagerTest.kt similarity index 100% rename from maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/StyleManagerTest.kt rename to lib/maplibre-compose/src/commonTest/kotlin/dev/sargunv/maplibrecompose/compose/StyleManagerTest.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/IosMapView.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/IosMapView.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/IosMapView.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/IosMapView.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/MeasuredBox.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/MeasuredBox.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/MeasuredBox.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/compose/MeasuredBox.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosMap.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosMap.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosMap.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosMap.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosStyle.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosStyle.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosStyle.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/IosStyle.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/BackgroundLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/CircleLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FeatureLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillExtrusionLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/FillLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HeatmapLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/HillshadeLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/Layer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/LineLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/RasterLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/SymbolLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/layer/UnknownLayer.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/GeoJsonSource.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/RasterSource.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/Source.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/UnknownSource.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/source/VectorSource.kt diff --git a/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt b/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt similarity index 100% rename from maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt rename to lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt diff --git a/maplibre-compose/src/iosTest/kotlin/dev/sargunv/maplibrecompose/compose/IosStyleManagerTest.kt b/lib/maplibre-compose/src/iosTest/kotlin/dev/sargunv/maplibrecompose/compose/IosStyleManagerTest.kt similarity index 100% rename from maplibre-compose/src/iosTest/kotlin/dev/sargunv/maplibrecompose/compose/IosStyleManagerTest.kt rename to lib/maplibre-compose/src/iosTest/kotlin/dev/sargunv/maplibrecompose/compose/IosStyleManagerTest.kt diff --git a/settings.gradle.kts b/settings.gradle.kts index 36217d27..16e17cb4 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,6 @@ @file:Suppress("UnstableApiUsage") -rootProject.name = "root" +rootProject.name = "maplibre-compose" enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") @@ -31,4 +31,4 @@ dependencyResolutionManagement { } } -include(":maplibre-compose", ":demo-app", ":") +include(":lib:maplibre-compose", ":lib", ":demo-app", ":")