scaloid
scaloid copied to clipboard
Publish scaloid-support-v4 to a maven repository
It would be great if you could publish the scaloid-support-v4 library
to a maven repository like the main scaloid
project.
+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.
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"
Thanks for the instructions to use it locally! Is there anything that needs to be done to the proguard cache also?
Sorry for the late reply.
Nothing particular needed with the proguard cache.
:+1: This would be really helpful.
:+1:
+1
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'
}