| | |
| | | apply plugin: 'com.android.application' |
| | | apply plugin: 'kotlin-android' |
| | | apply from: 'tinker-support.gradle' |
| | | |
| | | android { |
| | |
| | | } |
| | | } |
| | | //自定义名字 |
| | | //3.0版本 |
| | | //6.0版本 |
| | | android.applicationVariants.all { variant -> |
| | | variant.outputs.all { |
| | | if (buildType.name == "debug") |
| | | outputFileName = "Dev_yfs_v.${variant.versionName}.apk" |
| | | outputFileName = "Dev_yfs_v.${variant.versionName}${rootProject.ext.android.debugVersion}.apk" |
| | | else outputFileName = "yfs_v.${variant.versionName}.apk" |
| | | } |
| | | } |
| | |
| | | // 指定tinker依赖版本(注:应用升级1.3.5版本起,不再内置tinker) |
| | | implementation 'com.tencent.tinker:tinker-android-lib:1.9.9' |
| | | implementation 'com.tencent.bugly:nativecrashreport:latest.release' |
| | | compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
| | | implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+' |
| | | } |
| | | repositories { |
| | | mavenCentral() |
| | | } |