Skip to content

Commit 013bdc1

Browse files
author
Soren Roth
committed
Merge remote-tracking branch 'origin/feature-branches/forms' into feature-branches/forms
2 parents d7f69f3 + 7456eb7 commit 013bdc1

File tree

5 files changed

+23
-16
lines changed

5 files changed

+23
-16
lines changed

build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,12 @@ plugins {
2323
alias(libs.plugins.binary.compatibility.validator) apply false
2424
alias(libs.plugins.kotlin.android) apply false
2525
alias(libs.plugins.gradle.secrets) apply false
26-
alias(libs.plugins.kapt) apply false
2726
alias(libs.plugins.ksp) apply false
2827
alias(libs.plugins.hilt) apply false
2928
alias(libs.plugins.kotlin.serialization) apply false
3029
alias(libs.plugins.dokka) apply false
3130
}
3231

33-
allprojects{
34-
// kapt compiler cannot figure out that it needs to target the same bytecode as kotlin and java compilers
35-
// without this. Furthermore, KaptGenerateStubs is unresolved in module gradle.
36-
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KaptGenerateStubs::class).all {
37-
kotlinOptions {
38-
jvmTarget = JavaVersion.VERSION_1_8.toString()
39-
}
40-
}
41-
}
42-
4332
buildscript {
4433
dependencies {
4534
// there doesn't appear to be a better way to provide this to subprojects.

gradle/libs.versions.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ android-library = { id = "com.android.library", version.ref = "androidGradlePlug
7676
binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibilityValidator"}
7777
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
7878
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
79-
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
8079
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
8180
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
8281
gradle-secrets = { id = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin", version = "2.0.1"}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# FeatureForms Micro-app
2+
3+
This micro-app demonstrates the use of the [FeatureForm](../../toolkit/featureforms/README.md) toolkit component which provides a rich, dynamic, and responsive form
4+
for editing Feature attributes.
5+
6+
![Screenshot](screenshot.gif)
7+
8+
## Usage
9+
10+
The application provides a web map gallery and a map viewer which invokes the form when Features are tapped.
11+
Authentication is optional but limited to specific public web maps.
12+
13+
To authenticate ArcGIS Online with username and password, please provide values in `local.properties` as follows
14+
15+
```
16+
webMapUser=XXX
17+
webMapPassword=YYY
18+
```
19+
20+
For more information on the `FeatureForm` component and how it works, see it's [Readme](../../toolkit/featureforms/README.md).

microapps/FeatureFormsApp/app/build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ plugins {
2020
id("com.android.application")
2121
id("org.jetbrains.kotlin.android")
2222
id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin")
23-
id("org.jetbrains.kotlin.kapt")
24-
id("com.google.devtools.ksp")
2523
id("com.google.dagger.hilt.android")
24+
id("com.google.devtools.ksp")
2625
}
2726

2827
secrets {
@@ -88,12 +87,12 @@ dependencies {
8887
// hilt
8988
implementation(libs.hilt.android.core)
9089
implementation(libs.androidx.hilt.navigation.compose)
91-
kapt(libs.hilt.compiler)
90+
ksp(libs.hilt.compiler)
9291
// room
9392
implementation(libs.room.runtime)
9493
annotationProcessor(libs.room.compiler)
9594
implementation(libs.room.ext)
96-
kapt(libs.room.compiler)
95+
ksp(libs.room.compiler)
9796
// jetpack window manager
9897
implementation(libs.androidx.window)
9998
implementation(libs.androidx.window.core)
1.69 MB
Loading

0 commit comments

Comments
 (0)