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-core:🔝LATEST_VERSION🔝'
}dependencies {
implementation("com.github.farsroidx:andromeda-core:🔝LATEST_VERSION🔝")
}# Keep all classes and interfaces in ir.farsroidx.m31 package
-keep class ir.farsroidx.m31.** { *; }
# Keep all class members (fields and methods) in ir.farsroidx.m31 package
-keepclassmembers class ir.farsroidx.m31.** { *; }
# Keep all public methods in ir.farsroidx.m31 package
-keepclassmembers class ir.farsroidx.m31.** {
public <methods>;
public <fields>;
}
# Keep all extension functions in ir.farsroidx.m31 package
-keepclassmembers class ir.farsroidx.m31.** {
public <methods>;
public <fields>;
}
# Keep property delegates
-keep class kotlin.Lazy { *; }
-keep class kotlin.LazyKt { *; }
-keep class kotlin.reflect.KProperty { *; }
-keep class kotlin.reflect.KProperty0 { *; }
-keep class kotlin.reflect.KProperty1 { *; }
-keep class kotlin.reflect.KProperty2 { *; }
# Prevent warnings for java.lang.invoke.StringConcatFactory
-dontwarn java.lang.invoke.StringConcatFactory