scaloid icon indicating copy to clipboard operation
scaloid copied to clipboard

Publish scaloid-support-v4 to a maven repository

Open ngirardin opened this issue 10 years ago • 8 comments

It would be great if you could publish the scaloid-support-v4 library to a maven repository like the main scaloid project.

ngirardin avatar May 03 '14 15:05 ngirardin

+1 for this. I'm definitely in favor of publishing SFragment, etc. via the support library. The current app recommendations by Google favor using the support library rather than native, at least until market share of API 10 (Android 2.3.3) has shrunk to almost nothing.

tvierling avatar May 30 '14 14:05 tvierling

In the meanwhile you can use the following commands to publish le support lib locally:

git clone https://github.com/pocorall/scaloid.git
cd scaloid
git checkout 3.4
sbt
parent> project support-v4
support-4> publishLocal

and add the following line to your build.sbt file: libraryDependencies += "org.scaloid" %% "scaloid-support-v4" % "3.4-10"

ngirardin avatar Jun 02 '14 16:06 ngirardin

Thanks for the instructions to use it locally! Is there anything that needs to be done to the proguard cache also?

i-am-the-slime avatar Jun 16 '14 19:06 i-am-the-slime

Sorry for the late reply.

Nothing particular needed with the proguard cache.

ngirardin avatar Nov 23 '14 16:11 ngirardin

:+1: This would be really helpful.

alaendle avatar Mar 11 '15 20:03 alaendle

:+1:

taku0 avatar Apr 05 '15 06:04 taku0

+1

jccode avatar Aug 08 '17 15:08 jccode

Add maven repository "https://jitpack.io" to your build.gradle.

build.gradle

allprojects {
    repositories {
        jcenter()
        maven { url 'https://jitpack.io' }
    }
}

After that, you can add the "scaloid-suppoert-v4" library.

app/build.gradle

dependencies {
    compile 'com.github.pocorall.scaloid:scaloid-support-v4_2.11:4.1'
}

jccode avatar Aug 17 '17 15:08 jccode