Skip to content

Commit

Permalink
targetSdk 34, disable proguard for now
Browse files Browse the repository at this point in the history
  • Loading branch information
darvelo committed Sep 30, 2023
1 parent 37c2d77 commit 2bbb390
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
12 changes: 8 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

ext["PUBLISH_GROUP_ID"] = "com.davidarvelo"
ext["PUBLISH_VERSION"] = "3.2.1"
ext["PUBLISH_VERSION"] = "3.2.2"
ext["PUBLISH_ARTIFACT_ID"] = "fractional-indexing"

apply(from = "${rootDir}/scripts/publish-root.gradle")
Expand Down Expand Up @@ -127,7 +127,7 @@ kotlin {
android {
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") // Create AndroidManifest.xml and provide path to it
namespace = "com.davidarvelo"
compileSdk = 33
compileSdk = 34

kotlin {
jvmToolchain(11)
Expand All @@ -138,7 +138,7 @@ android {
}
defaultConfig {
minSdk = 23
targetSdk = 33
targetSdk = 34
}
buildTypes {
getByName("debug") {
Expand All @@ -147,7 +147,11 @@ android {
}
getByName("release") {
// namespace = "com.davidarvelo.fractional-indexing-android"
isMinifyEnabled = true
isMinifyEnabled = false
// proguardFiles(
// getDefaultProguardFile("proguard-android-optimize.txt"),
// "proguard-rules.pro"
// )
}
}
}
Expand Down
31 changes: 31 additions & 0 deletions proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

-keepclasseswithmembernames,includedescriptorclasses class com.davidarvelo.fractionalindexing.FractionalIndexing {
public <methods>;
native <methods>;
}

-keep class com.davidarvelo.fractionalindexing.FractionalIndexing {
public <methods>;
native <methods>;
}

0 comments on commit 2bbb390

Please sign in to comment.