I made an android library (my first one).. followed the steps and was able to successfully upload to bintray..but when i requested to link to jCenter ,I got this mail from Bintray:
Please consolidate all necessary files e.g. pom, aar and sources into one common path and we will gladly approve your inclusion request.
I'm not sure what I'm doing wrong.
Here's my bintray libary https://bintray.com/hitanshu-dhawan/maven/SharedPref
my libary build.gradle file
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'