-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge v.next into feature branch to use kotlin DSL (#172)
- Loading branch information
Showing
221 changed files
with
3,101 additions
and
2,883 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
plugins { | ||
id("com.android.application") | ||
id("org.jetbrains.kotlin.android") | ||
} | ||
|
||
android { | ||
compileSdk = libs.versions.compileSdk.get().toInt() | ||
|
||
defaultConfig { | ||
applicationId = "com.esri.arcgismaps.sample.adddynamicentitylayer" | ||
minSdk = libs.versions.minSdk.get().toInt() | ||
targetSdk = libs.versions.targetSdk.get().toInt() | ||
versionCode = libs.versions.versionCode.get().toInt() | ||
versionName = libs.versions.versionName.get() | ||
buildConfigField("String", "API_KEY", project.properties["API_KEY"].toString()) | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") | ||
} | ||
} | ||
|
||
buildFeatures { | ||
compose = true | ||
buildConfig = true | ||
} | ||
|
||
composeOptions { | ||
kotlinCompilerExtensionVersion = libs.versions.kotlinCompilerExt.get() | ||
} | ||
|
||
namespace = "com.esri.arcgismaps.sample.adddynamicentitylayer" | ||
} | ||
|
||
dependencies { | ||
// lib dependencies from rootProject build.gradle.kts | ||
implementation(libs.androidx.core.ktx) | ||
implementation(libs.androidx.lifecycle.runtime.ktx) | ||
implementation(libs.androidx.lifecycle.viewmodel.compose) | ||
implementation(libs.androidx.activity.compose) | ||
// Jetpack Compose Bill of Materials | ||
implementation(platform(libs.androidx.compose.bom)) | ||
// Jetpack Compose dependencies | ||
implementation(libs.androidx.compose.ui) | ||
implementation(libs.androidx.compose.material3) | ||
implementation(libs.androidx.compose.ui.tooling) | ||
implementation(libs.androidx.compose.ui.tooling.preview) | ||
implementation(project(":samples-lib")) | ||
// Toolkit dependencies | ||
implementation(platform(libs.arcgis.maps.kotlin.toolkit.bom)) | ||
implementation(libs.arcgis.maps.kotlin.toolkit.geo.compose) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
plugins { | ||
id("com.android.application") | ||
id("org.jetbrains.kotlin.android") | ||
} | ||
|
||
android { | ||
compileSdk = libs.versions.compileSdk.get().toInt() | ||
|
||
defaultConfig { | ||
applicationId = "com.esri.arcgismaps.sample.addfeaturelayers" | ||
minSdk = libs.versions.minSdk.get().toInt() | ||
targetSdk = libs.versions.targetSdk.get().toInt() | ||
versionCode = libs.versions.versionCode.get().toInt() | ||
versionName = libs.versions.versionName.get() | ||
buildConfigField("String", "API_KEY", project.properties["API_KEY"].toString()) | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") | ||
} | ||
} | ||
|
||
buildFeatures { | ||
dataBinding = true | ||
buildConfig = true | ||
} | ||
|
||
namespace = "com.esri.arcgismaps.sample.addfeaturelayers" | ||
} | ||
|
||
dependencies { | ||
// lib dependencies from rootProject build.gradle.kts | ||
implementation(libs.androidx.constraintlayout) | ||
implementation(libs.android.material) | ||
implementation(libs.androidx.appcompat) | ||
implementation(project(":samples-lib")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
plugins { | ||
id("com.android.application") | ||
id("org.jetbrains.kotlin.android") | ||
} | ||
|
||
android { | ||
compileSdk = libs.versions.compileSdk.get().toInt() | ||
|
||
defaultConfig { | ||
applicationId = "com.esri.arcgismaps.sample.addfeatureswithcontingentvalues" | ||
minSdk = libs.versions.minSdk.get().toInt() | ||
targetSdk = libs.versions.targetSdk.get().toInt() | ||
versionCode = libs.versions.versionCode.get().toInt() | ||
versionName = libs.versions.versionName.get() | ||
buildConfigField("String", "API_KEY", project.properties["API_KEY"].toString()) | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") | ||
} | ||
} | ||
|
||
buildFeatures { | ||
dataBinding = true | ||
buildConfig = true | ||
} | ||
|
||
namespace = "com.esri.arcgismaps.sample.addfeatureswithcontingentvalues" | ||
} | ||
|
||
dependencies { | ||
// lib dependencies from rootProject build.gradle.kts | ||
implementation(libs.androidx.constraintlayout) | ||
implementation(libs.android.material) | ||
implementation(libs.androidx.appcompat) | ||
implementation(project(":samples-lib")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
plugins { | ||
id("com.android.application") | ||
id("org.jetbrains.kotlin.android") | ||
} | ||
|
||
android { | ||
compileSdk = libs.versions.compileSdk.get().toInt() | ||
|
||
defaultConfig { | ||
applicationId = "com.esri.arcgismaps.sample.addscenelayerwithelevation" | ||
minSdk = libs.versions.minSdk.get().toInt() | ||
targetSdk = libs.versions.targetSdk.get().toInt() | ||
versionCode = libs.versions.versionCode.get().toInt() | ||
versionName = libs.versions.versionName.get() | ||
buildConfigField("String", "API_KEY", project.properties["API_KEY"].toString()) | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") | ||
} | ||
} | ||
|
||
buildFeatures { | ||
compose = true | ||
buildConfig = true | ||
} | ||
|
||
composeOptions { | ||
kotlinCompilerExtensionVersion = libs.versions.kotlinCompilerExt.get() | ||
} | ||
|
||
namespace = "com.esri.arcgismaps.sample.addscenelayerwithelevation" | ||
} | ||
|
||
dependencies { | ||
// lib dependencies from rootProject build.gradle.kts | ||
implementation(libs.androidx.core.ktx) | ||
implementation(libs.androidx.lifecycle.runtime.ktx) | ||
implementation(libs.androidx.lifecycle.viewmodel.compose) | ||
implementation(libs.androidx.activity.compose) | ||
// Jetpack Compose Bill of Materials | ||
implementation(platform(libs.androidx.compose.bom)) | ||
// Jetpack Compose dependencies | ||
implementation(libs.androidx.compose.ui) | ||
implementation(libs.androidx.compose.material3) | ||
implementation(libs.androidx.compose.ui.tooling) | ||
implementation(libs.androidx.compose.ui.tooling.preview) | ||
implementation(project(":samples-lib")) | ||
} |
Oops, something went wrong.