mirror of
https://github.com/RxReader/wechat_kit.git
synced 2025-08-06 15:20:24 +08:00
57 lines
1.0 KiB
Dart
57 lines
1.0 KiB
Dart
group 'io.github.v7lin.wechat_kit'
|
|
version '3.0.0'
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.0'
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
|
|
resourcePrefix 'wechat_kit'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
|
|
// library 混淆 -> 随 library 引用,自动添加到 apk 打包混淆
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
lintOptions {
|
|
disable 'InvalidPackage'
|
|
}
|
|
|
|
flavorDimensions 'vendor'
|
|
|
|
productFlavors {
|
|
vendor {
|
|
dimension 'vendor'
|
|
|
|
// library 混淆 -> 随 library 引用,自动添加到 apk 打包混淆
|
|
consumerProguardFiles 'consumer-vendor-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
//
|
|
vendorImplementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.9'
|
|
}
|
|
|