|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'multi-languages'
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.community.pocket"
|
|
|
|
minSdkVersion 17
|
|
|
|
targetSdkVersion 29
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
res {
|
|
|
|
srcDirs 'src/main/res', 'src/main/res/layout/resetpwd', 'src/main/res/layout/resetpwd/layout',
|
|
|
|
'src/main/res/layout/main', 'src/main/res/layout/main/layout',
|
|
|
|
'src/main/res/layout/main/layout/forum', 'src/main/res/layout/main/layout/forum/layout',
|
|
|
|
'src/main/res/layout/main/layout/visitor', 'src/main/res/layout/main/layout/visitor/layout',
|
|
|
|
'src/main/res/layout/main/layout/info','src/main/res/layout/main/layout/info/layout',
|
|
|
|
'src/main/res/layout/main/layout/garbage','src/main/res/layout/main/layout/garbage/layout'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
|
implementation 'com.google.android.material:material:1.1.0'
|
|
|
|
implementation 'androidx.annotation:annotation:1.1.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
|
implementation 'androidx.navigation:navigation-fragment:2.2.1'
|
|
|
|
implementation 'androidx.navigation:navigation-ui:2.2.1'
|
|
|
|
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
testImplementation 'junit:junit:4.13'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
|
|
|
|
implementation 'com.github.jokar:multi-languages:0.0.8'
|
|
|
|
implementation 'org.xutils:xutils:3.8.5'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.4.1'
|
|
|
|
implementation 'com.wuhenzhizao:titlebar:1.2.0'
|
|
|
|
|
|
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
|
|
|
implementation 'androidx.gridlayout:gridlayout:1.0.0'
|
|
|
|
}
|