apply plugin: 'com.android.application' apply from: '../dependencies.gradle' apply plugin: 'kotlin-android' android { defaultConfig { applicationId "com.shanp.deerdirector" // region 极光推送2、 必须配置在 主模块下的build.gradle manifestPlaceholders = [ JPUSH_PKGNAME: "com.shanp.deerdirector", JPUSH_APPKEY : "49fb72ec414fb09293cc724a", //JPush 上注册的包名对应的 Appkey. JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可. //meizu_config_start MEIZU_APPKEY : "MZ-魅族的APPKEY", MEIZU_APPID : "MZ-魅族的APPID", //meizu_config_end //xiaomi_config_start XIAOMI_APPID : "MI-小米的APPID", XIAOMI_APPKEY : "MI-小米的APPKEY", //xiaomi_config_end //oppo_config_start OPPO_APPKEY : "OP-oppo的APPKEY", OPPO_APPID : "OP-oppo的APPID", OPPO_APPSECRET: "OP-oppo的APPSECRET", //oppo_config_end //vivo_config_start VIVO_APPKEY : "vivo的APPKEY", VIVO_APPID : "vivo的APPID", //vivo_config_end ] // endregion } } dependencies { implementation project(":base") implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" }