From 7892fa8b86eca643ac0794b4cc2ecd39ad9d8cd1 Mon Sep 17 00:00:00 2001 From: saeed Date: Fri, 27 Oct 2023 04:37:15 +0330 Subject: [PATCH] fixed --- .idea/vcs.xml | 6 ++++++ .../main/java/com/starcoder/drawrouteonmap/MainActivity.kt | 3 +-- drawRouteCompose/build.gradle.kts | 2 +- .../starcoder/drawroutecompose/{ => route}/ApiService.kt | 2 +- .../starcoder/drawroutecompose/{ => route}/DrawRoutes.kt | 2 +- .../starcoder/drawroutecompose/{ => route}/FetchRoutes.kt | 2 +- 6 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .idea/vcs.xml rename drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/{ => route}/ApiService.kt (98%) rename drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/{ => route}/DrawRoutes.kt (98%) rename drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/{ => route}/FetchRoutes.kt (97%) diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/starcoder/drawrouteonmap/MainActivity.kt b/app/src/main/java/com/starcoder/drawrouteonmap/MainActivity.kt index ad54999..5492323 100644 --- a/app/src/main/java/com/starcoder/drawrouteonmap/MainActivity.kt +++ b/app/src/main/java/com/starcoder/drawrouteonmap/MainActivity.kt @@ -7,10 +7,9 @@ import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.ui.Modifier -import androidx.compose.ui.modifier.modifierLocalConsumer import com.google.android.gms.maps.model.LatLng import com.google.maps.android.compose.GoogleMap -import com.starcoder.drawroutecompose.DrawRoutes +import com.starcoder.drawroutecompose.route.DrawRoutes import com.starcoder.drawrouteonmap.ui.theme.DrawRouteOnMapTheme class MainActivity : ComponentActivity() { diff --git a/drawRouteCompose/build.gradle.kts b/drawRouteCompose/build.gradle.kts index 77253be..dd9d875 100644 --- a/drawRouteCompose/build.gradle.kts +++ b/drawRouteCompose/build.gradle.kts @@ -83,7 +83,7 @@ publishing { register("release") { groupId = "com.github.saeedrznr" artifactId = "DrawRouteOnMap" - version = "0.0.0" + version = "0.0.1" afterEvaluate { from(components["release"]) diff --git a/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/ApiService.kt b/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/ApiService.kt similarity index 98% rename from drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/ApiService.kt rename to drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/ApiService.kt index 594b2c6..e665f23 100644 --- a/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/ApiService.kt +++ b/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/ApiService.kt @@ -1,4 +1,4 @@ -package com.starcoder.drawroutecompose +package com.starcoder.drawroutecompose.route import android.util.Log import com.google.android.gms.maps.model.LatLng diff --git a/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/DrawRoutes.kt b/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/DrawRoutes.kt similarity index 98% rename from drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/DrawRoutes.kt rename to drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/DrawRoutes.kt index 4974865..ff6d9b9 100644 --- a/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/DrawRoutes.kt +++ b/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/DrawRoutes.kt @@ -1,4 +1,4 @@ -package com.starcoder.drawroutecompose +package com.starcoder.drawroutecompose.route import androidx.compose.runtime.Composable diff --git a/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/FetchRoutes.kt b/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/FetchRoutes.kt similarity index 97% rename from drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/FetchRoutes.kt rename to drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/FetchRoutes.kt index d42559b..3dab67a 100644 --- a/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/FetchRoutes.kt +++ b/drawRouteCompose/src/main/java/com/starcoder/drawroutecompose/route/FetchRoutes.kt @@ -1,4 +1,4 @@ -package com.starcoder.drawroutecompose +package com.starcoder.drawroutecompose.route import com.google.android.gms.maps.model.LatLng import com.starcoder.drawroutecompose.model.Route