group 'io.github.v7lin.tencent_kit' version '1.1.0' buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' } } rootProject.allprojects { repositories { google() jcenter() } } apply plugin: 'com.android.library' apply from: './quality.gradle' android { compileSdkVersion 28 resourcePrefix 'tencent_kit' defaultConfig { minSdkVersion 16 // library 混淆 -> 随 library 引用,自动添加到 apk 打包混淆 consumerProguardFiles 'consumer-rules.pro' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { disable 'InvalidPackage' } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.legacy:legacy-support-v4:1.0.0' }