我制作了一个 android 库(我的第一个).. 按照步骤并能够成功上传到 bintray..但是当我请求链接到 jCenter 时,我从 Bintray 收到了这封邮件:
请将所有必要的文件(例如 pom、aar 和源)合并到一个通用路径中,我们将很乐意批准您的包含请求。
我不确定我做错了什么。
这是我的 bintray 库https://bintray.com/hitanshu-dhawan/maven/SharedPref
我的库 build.gradle 文件
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
defaultConfig {
minSdkVersion 1
targetSdkVersion 26
versionCode 1
versionName "1.0.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
ext {
bintrayRepo = 'maven'
bintrayName = 'SharedPref'
publishedGroupId = 'com.hitanshudhawan.sharedpref'
libraryName = 'sharedpref'
artifact = 'sharedpref'
libraryDescription = 'An android library for making SharedPreferences easy'
siteUrl = 'https://github.com/hitanshu-dhawan/SharedPref'
gitUrl = 'https://github.com/hitanshu-dhawan/SharedPref.git'
libraryVersion = '1.0.0'
developerId = 'hitanshu-dhawan'
developerName = 'Hitanshu Dhawan'
developerEmail = 'hitanshudhawan1996@gmail.com'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:support-annotations:26.1.0'
}
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'