diff --git a/build.gradle.kts b/build.gradle.kts index ac6c5f0..8a40e08 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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") @@ -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) @@ -138,7 +138,7 @@ android { } defaultConfig { minSdk = 23 - targetSdk = 33 + targetSdk = 34 } buildTypes { getByName("debug") { @@ -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" +// ) } } } diff --git a/proguard-rules.pro b/proguard-rules.pro new file mode 100644 index 0000000..5aed5bd --- /dev/null +++ b/proguard-rules.pro @@ -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 ; + native ; +} + +-keep class com.davidarvelo.fractionalindexing.FractionalIndexing { + public ; + native ; +} \ No newline at end of file