fixed empty classes.jar issue
This commit is contained in:
@@ -77,14 +77,14 @@ android {
|
|||||||
minSdkVersion = 26
|
minSdkVersion = 26
|
||||||
targetSdkVersion = 36
|
targetSdkVersion = 36
|
||||||
versionCode = 7
|
versionCode = 7
|
||||||
versionName = '1.5.0'
|
versionName = '1.5.1'
|
||||||
signingConfig = signingConfigs.irext_key
|
signingConfig = signingConfigs.irext_key
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
versionNameSuffix '1.5.0'
|
versionNameSuffix '1.5.1'
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
debuggable true
|
debuggable true
|
||||||
@@ -97,8 +97,6 @@ android {
|
|||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
singleVariant('release') {
|
singleVariant('release') {
|
||||||
withSourcesJar()
|
|
||||||
withJavadocJar()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -113,6 +111,9 @@ afterEvaluate {
|
|||||||
|
|
||||||
from components.release
|
from components.release
|
||||||
|
|
||||||
|
artifact androidSourcesJar
|
||||||
|
artifact androidJavadocsJar
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = 'irext-remote-index-android'
|
name = 'irext-remote-index-android'
|
||||||
description = 'Android Indexing API for IRext remote controller'
|
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
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-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