Skip to content

Commit

Permalink
[INJIMOB-890]: example app updated to use snapshot (#127)
Browse files Browse the repository at this point in the history
* [INJIMOB-890]: add dynamic name to release aar file

Signed-off-by: Ayushi Dey <[email protected]>

* [INJIMOB-890]: modified aar dynamic name

Signed-off-by: Ayushi Dey <[email protected]>

* [INJIMOB-890]: changed debug aar name

Signed-off-by: Ayushi Dey <[email protected]>

* [INJIMOB-890]: modified example app to use snapshot

Signed-off-by: Ayushi Dey <[email protected]>

---------

Signed-off-by: Ayushi Dey <[email protected]>
  • Loading branch information
AyushiDey authored May 7, 2024
1 parent 21c1180 commit ee4ecda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions example/demo-android-app/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ android {
}

dependencies {

implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.activity.compose)
Expand All @@ -59,7 +58,7 @@ dependencies {
implementation(libs.androidx.ui.graphics)
implementation(libs.androidx.ui.tooling.preview)
implementation(libs.androidx.material3)
implementation(files("/Users/abhishekpaul/Documents/tuvali/android/build/outputs/aar/android-debug.aar"))
implementation("io.mosip:tuvali:1.0-SNAPSHOT")
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
Expand Down
13 changes: 7 additions & 6 deletions example/demo-android-app/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ pluginManagement {
gradlePluginPortal()
}
}

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
}

rootProject.name = "My Application"
include(":app")

0 comments on commit ee4ecda

Please sign in to comment.