maven - Add dependency to android library -


base on tutorial

http://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en

i'm trying upload android library jcenter/maven colleague can add project following

dependencies {     compile 'com.mycompany.dev:library-name:1.0.0' } 

problem is, 1 of library depending on other library such ormlite or glide. when run run

./gradlew install 

i got error

package com.bumptech.glide not exist import com.bumptech.glide.glide; .. package com.j256.ormlite.support not exist import com.j256.ormlite.support.connectionsource; .. 15 errors 100 warnings :core:javadoc failed  failure: build failed exception. 

do have idea how resolve issue?

either own dependencies should shipped jar files inside of apk (which might licence infringement), or clients should add additional dependencies in build script.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -