fixed empty classes.jar issue
This commit is contained in:
@@ -77,14 +77,14 @@ android {
|
||||
minSdkVersion = 26
|
||||
targetSdkVersion = 36
|
||||
versionCode = 7
|
||||
versionName = '1.5.0'
|
||||
versionName = '1.5.1'
|
||||
signingConfig = signingConfigs.irext_key
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
versionNameSuffix '1.5.0'
|
||||
versionNameSuffix '1.5.1'
|
||||
}
|
||||
debug {
|
||||
debuggable true
|
||||
@@ -97,8 +97,6 @@ android {
|
||||
|
||||
publishing {
|
||||
singleVariant('release') {
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -113,6 +111,9 @@ afterEvaluate {
|
||||
|
||||
from components.release
|
||||
|
||||
artifact androidSourcesJar
|
||||
artifact androidJavadocsJar
|
||||
|
||||
pom {
|
||||
name = 'irext-remote-index-android'
|
||||
description = 'Android Indexing API for IRext remote controller'
|
||||
|
||||
9
android-sdk/proguard-rules.pro
vendored
9
android-sdk/proguard-rules.pro
vendored
@@ -23,3 +23,12 @@
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
-keep public class net.irext.webapi.** {
|
||||
public protected *;
|
||||
}
|
||||
|
||||
# If your library uses reflection (e.g., for JSON deserialization with Gson),
|
||||
# you might need to add specific rules for those models:
|
||||
-keep class * implements java.io.Serializable {
|
||||
public <fields>;
|
||||
}
|
||||
Reference in New Issue
Block a user