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 27 defaultConfig { minSdkVersion 16 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } lintOptions { disable 'InvalidPackage' } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'io.github.v7lin:weibo-android:4.3.4' }