A library for using pre-built codes
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
.
.
------> maven { url 'https://jitpack.io' }
}
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
.
.
------> maven(url = "https://jitpack.io")
}
}
2. Copy the following line in section dependencies
in file build.gradle
of module app
and replace it with LATEST_VERSION
according to the latest version in the repository:
dependencies {
implementation 'com.github.farsroidx:andromeda-viewmodel:🔝LATEST_VERSION🔝'
}
dependencies {
implementation("com.github.farsroidx:andromeda-viewmodel:🔝LATEST_VERSION🔝")
}
-dontwarn java.lang.invoke.StringConcatFactory
# Keep all classes and interfaces in ir.farsroidx.m31 package
-keep class ir.farsroidx.m31.** { *; }
# Keep all fields and methods in ir.farsroidx.m31 package
-keepclassmembers class ir.farsroidx.m31.** { *; }
# Keep all extension functions in ir.farsroidx.m31 package
-keepclassmembers class ir.farsroidx.m31.** {
public <methods>;
}