apply plugin: 'com.android.library' android { namespace 'com.github.jaredrummler' // <-- 在这里添加 namespace compileSdkVersion 28 buildToolsVersion '28.0.3' resourcePrefix 'ms__' defaultConfig { minSdkVersion 14 targetSdkVersion 28 } } dependencies { implementation 'androidx.annotation:annotation:1.0.0' testImplementation 'junit:junit:4.12' } //apply from: rootProject.file('gradle/maven-push.gradle')