[英]Android library published on bintray but is not available at jcenter
[英]Jcenter (Bintray) not approving android library
我制作了一个android库(我的第一个库)..按照步骤操作,能够成功上传到Bintray ..但是当我请求链接到jCenter时,我从Bintray收到了这封邮件:
请将所有必要的文件(例如pom,aar和source)合并到一个通用路径中,我们很乐意批准您的收录要求。
我不确定自己在做什么错。
这是我的Bintray库https://bintray.com/hitanshu-dhawan/maven/SharedPref
我的lib 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'
我已经将成功的2库上载到Bintray和JCenter,我写了一个如何做的指南,您可以按照我的指南去做。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.