The GiPStech AuRea Library is built using Kotlin Multiplatform and is available in three distribution formats:
- Maven Repository for Kotlin Mobile Multiplatform (KMM) projects.
- Maven Repository for Android projects written in Kotlin or Java.
- Xcode Framework for native iOS projects written in Swift or Objective-C.
Kotlin Mobile Multiplatform
Section titled “Kotlin Mobile Multiplatform”To include the library in your Kotlin Mobile Multiplatform project, follow these steps:
1. Add the GiPStech Maven repository
Section titled “1. Add the GiPStech Maven repository”Modify your settings.gradle.kts (or settings.gradle if using Groovy) to include the custom Maven repository:
dependencyResolutionManagement { repositories { google() mavenCentral() maven("https://repo.gipstech.com/maven") // <-- ADD THIS LINE }}2. Add the dependency in the Kotlin Multiplatform module
Section titled “2. Add the dependency in the Kotlin Multiplatform module”Modify your build.gradle.kts file to include the dependency for the required platforms.
kotlin { sourceSets { commonMain.dependencies { implementation("com.gipstech:aurea:1.0.2") // <-- ADD THIS LINE } }}3. Sync the project
Section titled “3. Sync the project”Once the dependency is added, synchronize Gradle:
-
In Android Studio: File -> Sync Project with Gradle Files
-
From the Command Line run:
./gradlew build
Android
Section titled “Android”Including the library in an Android project is very similar to the process described in the previous paragraph. The only difference is in section 2, where you need to modify the build.gradle.kts file to explicitly add the dependency for the Android platform, as shown below:
dependencies { implementation("com.gipstech:aurea-android:1.0.2") // <-- ADD THIS LINE}The GiPStech AuRea Library is currently not available for native iOS applications.
Due to a framework compatibility issue, AuRea and ARDK cannot be integrated into the same Xcode project.
Support for native iOS applications is planned for a future release.