123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions' //扩展插件
- android {
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
- defaultConfig {
- applicationId "com.xunao.effectdemo"
- minSdkVersion 21
- targetSdkVersion 30
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- manifestPlaceholders = [
- JPUSH_PKGNAME : applicationId,
- JPUSH_APPKEY : "ecffb33772bcb5b0a447c70b", //JPush 上注册的包名对应的 Appkey.
- JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
- // MEIZU_APPKEY : "MZ-魅族的APPKEY",
- // MEIZU_APPID : "MZ-魅族的APPID",
- // XIAOMI_APPID : "MI-小米的APPID",
- // XIAOMI_APPKEY : "MI-小米的APPKEY",
- // OPPO_APPKEY : "OP-oppo的APPKEY",
- // OPPO_APPID : "OP-oppo的APPID",
- // OPPO_APPSECRET : "OP-oppo的APPSECRET",
- // VIVO_APPKEY : "vivo的APPKEY",
- // VIVO_APPID : "vivo的APPID"
- ]
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- assets.srcDir "assets"
- }
- }
- buildFeatures {
- viewBinding true
- }
- // compileOptions {
- // targetCompatibility JavaVersion.VERSION_1_8
- // sourceCompatibility JavaVersion.VERSION_1_8
- // }
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar"])
- implementation 'androidx.appcompat:appcompat:1.3.0'
- implementation 'com.google.android.material:material:1.4.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'androidx.navigation:navigation-fragment:2.3.5'
- implementation 'androidx.navigation:navigation-ui:2.3.5'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'androidx.core:core-ktx:1.3.1'
- implementation 'com.github.xuexiangjys:XUI:1.1.6'
- implementation 'com.github.huburt-Hu:NewbieGuide:v2.4.0'
- implementation 'com.qmuiteam:qmui:2.0.0-alpha10'
- implementation 'com.airbnb.android:lottie:5.2.0'
- implementation 'com.github.JadeKkang:like_view:v1.0'
- implementation 'cn.jiguang.sdk:jcore:3.3.0' // 此处以JCore 3.3.0 版本为例。
- implementation 'cn.jiguang.sdk:jpush:4.7.2' // 此处以JPush 4.7.2 版本为例
- }
|