2024-04-25 10:33:59 +08:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-android-extensions'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2024-05-22 16:04:09 +08:00
|
|
|
compileSdk 30
|
2024-04-25 10:33:59 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
2024-05-22 16:04:09 +08:00
|
|
|
applicationId "edu.whut.jianshu"
|
2024-05-08 19:14:44 +08:00
|
|
|
minSdk 19
|
2024-05-22 16:04:09 +08:00
|
|
|
targetSdkVersion 30
|
2024-04-25 10:33:59 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2024-05-08 19:14:44 +08:00
|
|
|
multiDexEnabled true
|
2024-04-25 10:33:59 +08:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// implementation 'android.recyclerview:recyclerview:1.0.0'
|
|
|
|
implementation 'io.github.bmob:android-sdk:3.9.4'
|
|
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
|
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.8.1'
|
|
|
|
implementation 'com.squareup.okio:okio:2.2.2'
|
|
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
|
|
implementation 'androidx.core:core-ktx:1.3.2'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation 'com.google.android.material:material:1.3.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
|
|
testImplementation 'junit:junit:4.+'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
|
|
|
implementation 'de.hdodenhof:circleimageview:3.0.1'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
|
|
|
|
implementation 'com.github.bumptech.glide:glide:3.7.0'
|
|
|
|
implementation 'com.ms-square:expandableTextView:0.1.4'
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'junit:junit:4.12'
|
|
|
|
implementation 'com.jakewharton:butterknife:7.0.1'
|
|
|
|
implementation 'com.facebook.fresco:fresco:0.9.0+'
|
2024-05-08 19:14:44 +08:00
|
|
|
implementation project(':hwtxtreaderlib')
|
|
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
2024-04-25 10:33:59 +08:00
|
|
|
}
|