NightWhistler/HtmlSpanner

[Request] Need Gradle support to import lib in android studio.

Closed this issue · 5 comments

[Request] Need Gradle support to import lib in android studio.

What do you mean exactly? There is a build.gradle file... what would be needed to import it as a lib?

Is there any gradle dependency to import this project as library ?

Yes please add a gradle dependency I have no idea how to add this to my android studio app. Most libraries have something that looks like this

compile 'com.melnykov:floatingactionbutton:1.3.0'

that allows you to add the library to gradle

Hmm, I see what you mean... the short-term solution is to install the plugin to your local repo using

mvn install

or

./gradlew install

and then to add

repositories {
    mavenLocal()
  }

to your build.gradle.

You're right though that it would be much nice to publish the plugin to a public repo... except that I have no idea how to do that. If someone can tell me how to get it published, I'll be happy to do so.

This is basically the same as #43