49 lines
917 B
Dart
49 lines
917 B
Dart
group 'io.github.v7lin.fakeweibo'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.2.1'
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
|
|
// weibo
|
|
maven {
|
|
url "https://dl.bintray.com/thelasterstar/maven/"
|
|
}
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
|
|
// library 混淆 -> 随 library 引用,自动添加到 apk 打包混淆
|
|
consumerProguardFiles 'consumer-proguard-rules.txt'
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
lintOptions {
|
|
disable 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.sina.weibo.sdk:core:4.3.4:openDefaultRelease@aar'
|
|
}
|