2017-05-28 18:29:31 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
2017-07-02 14:10:59 +08:00
|
|
|
buildscript {
|
|
|
|
|
repositories {
|
2025-09-29 13:42:07 +08:00
|
|
|
maven {
|
|
|
|
|
url "https://maven.aliyun.com/nexus/content/repositories/releases"
|
|
|
|
|
}
|
2017-07-02 14:10:59 +08:00
|
|
|
jcenter()
|
2019-06-16 21:50:54 +08:00
|
|
|
google()
|
2017-07-02 14:10:59 +08:00
|
|
|
}
|
|
|
|
|
dependencies {
|
2025-04-21 12:47:06 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:8.2.0'
|
2017-07-02 14:10:59 +08:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-07-02 21:29:21 +08:00
|
|
|
allprojects {
|
|
|
|
|
repositories {
|
2025-09-29 13:42:07 +08:00
|
|
|
maven {
|
|
|
|
|
url "https://maven.aliyun.com/nexus/content/repositories/releases/"
|
|
|
|
|
}
|
|
|
|
|
maven {
|
|
|
|
|
url "https://maven.aliyun.com/nexus/content/repositories/snapshots"
|
|
|
|
|
}
|
|
|
|
|
google()
|
2019-07-02 21:29:21 +08:00
|
|
|
jcenter()
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-05-28 18:29:31 +08:00
|
|
|
android {
|
2025-09-29 13:42:07 +08:00
|
|
|
namespace = "net.irext.webapi"
|
2017-05-28 18:29:31 +08:00
|
|
|
signingConfigs {
|
|
|
|
|
irext_key {
|
2017-07-02 14:10:59 +08:00
|
|
|
keyAlias 'irext-android'
|
|
|
|
|
keyPassword 'irext-android'
|
2019-07-02 21:29:21 +08:00
|
|
|
storeFile file('/home/strawmanbobi/Develop/project/irext/keys/irext-android.jks')
|
2017-07-02 14:10:59 +08:00
|
|
|
storePassword 'irext-android'
|
2017-05-28 18:29:31 +08:00
|
|
|
}
|
|
|
|
|
}
|
2025-10-19 21:02:21 +08:00
|
|
|
compileSdk 36
|
2017-05-28 18:29:31 +08:00
|
|
|
defaultConfig {
|
2025-10-19 21:02:21 +08:00
|
|
|
minSdkVersion 26
|
|
|
|
|
targetSdkVersion 36
|
|
|
|
|
versionCode 7
|
2025-09-29 13:42:07 +08:00
|
|
|
versionName '1.5.0'
|
2017-05-28 18:29:31 +08:00
|
|
|
signingConfig signingConfigs.irext_key
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled true
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
|
signingConfig signingConfigs.irext_key
|
2025-09-29 13:42:07 +08:00
|
|
|
versionNameSuffix '1.5.0'
|
2018-09-09 21:19:51 +08:00
|
|
|
}
|
|
|
|
|
debug {
|
|
|
|
|
debuggable true
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
jniDebuggable true
|
2017-05-28 18:29:31 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
productFlavors {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2025-10-19 21:02:21 +08:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
|
|
|
|
|
implementation 'com.squareup.okio:okio:3.4.0'
|
|
|
|
|
implementation 'com.google.code.gson:gson:2.13.2'
|
2017-05-28 18:29:31 +08:00
|
|
|
}
|