Я сделал библиотеку для 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 = '[email protected]'
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'