maven - Bintray plugin doesn't seem to include AAR file: Error:Failed to resolve AAR -
i trying upload library following build script bintray. note has compile project(':oppwa.mobile-2.2.0') have downloaded aar file , added module dependency library. when run ./gradlew bintrayupload - gradle complile line: compile 'ai.devsupport:peachpay:0.0.1'
however, when add line new project, error:
error:failed resolve: peachpay:oppwa.mobile-2.2.0:unspecified my build.gradle follows:
apply plugin: 'com.jfrog.bintray' allprojects { repositories { jcenter() mavencentral() maven { url "http://clojars.org/repo" } } apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' } android { compilesdkversion 25 buildtoolsversion "25.0.2" repositories { maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } maven { url 'https://raw.githubusercontent.com/google/keyczar/master/java/maven/' } mavencentral() } defaultconfig { minsdkversion 16 targetsdkversion 25 versioncode 1 versionname "1.0" testinstrumentationrunner "android.support.test.runner.androidjunitrunner" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } repositories { mavencentral() } buildscript { repositories { jcenter() mavencentral() } dependencies { classpath 'com.android.tools.build:gradle:1.1.1' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' } } group = 'ai.devsupport' version = '0.0.1' dependencies { compile filetree(include: ['*.jar'], dir: 'libs') androidtestcompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:design:25.3.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.google.android.gms:play-services-wallet:11.0.2' compile 'com.squareup.okhttp3:okhttp:3.8.1' testcompile 'junit:junit:4.12' compile project(':oppwa.mobile-2.2.0') } bintray { user = project.hasproperty('bintrayuser') ? project.property('bintrayuser') : system.getenv('bintray_user') key = project.hasproperty('bintrayapikey') ? project.property('bintrayapikey') : system.getenv('bintray_api_key') configurations = ['archives'] pkg { repo = 'peachpayments' name = 'peachpay' userorg = 'authmeio' licenses = ['apache-2.0'] vcsurl = 'https://github.com/shardullavekar/peachpay.git' version { name = '0.0.1' desc = 'peach payments library powered devsupport ai' vcstag = '0.0.1' attributes = ['gradle-plugin': 'ai.devsupport:peachpay:0.0.1'] } } } task wrapper(type: wrapper) { gradleversion = '2.4' } my project structure follows:
any help? problem bintray doesn't throw error - creates confusion.

Comments
Post a Comment