70 lines
1.8 KiB
Groovy
70 lines
1.8 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven {
|
|
url "https://maven.aliyun.com/nexus/content/repositories/releases"
|
|
}
|
|
jcenter()
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.2.0'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
allprojects {
|
|
repositories {
|
|
maven {
|
|
url "https://maven.aliyun.com/nexus/content/repositories/releases/"
|
|
}
|
|
maven {
|
|
url "https://maven.aliyun.com/nexus/content/repositories/snapshots"
|
|
}
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
android {
|
|
namespace = "net.irext.webapi"
|
|
signingConfigs {
|
|
irext_key {
|
|
keyAlias 'irext-android'
|
|
keyPassword 'irext-android'
|
|
storeFile file('/home/strawmanbobi/Develop/project/irext/keys/irext-android.jks')
|
|
storePassword 'irext-android'
|
|
}
|
|
}
|
|
compileSdkVersion 34
|
|
buildToolsVersion "25.0.0"
|
|
defaultConfig {
|
|
minSdkVersion 33
|
|
targetSdkVersion 34
|
|
versionCode 5
|
|
versionName '1.5.0'
|
|
signingConfig signingConfigs.irext_key
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.irext_key
|
|
versionNameSuffix '1.5.0'
|
|
}
|
|
debug {
|
|
debuggable true
|
|
minifyEnabled false
|
|
jniDebuggable true
|
|
}
|
|
}
|
|
productFlavors {
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation files('libs/gson-2.8.0.jar')
|
|
implementation files('libs/okhttp-3.7.0.jar')
|
|
implementation files('libs/okio-1.12.0.jar')
|
|
}
|