-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Build Variants
kai-morich edited this page Oct 12, 2019
·
3 revisions
The library is typically consumed from jitpack.io with:
dependencies {
implementation 'com.github.mik3y:usb-serial-for-android:2.x.y
}
When pushing to github with jitpack enabled,
*.aar and *-sources.jar are automatically published by jitpack,
even if no maven
or maven-publish
gradle plugin is used.
If you need a jar file (e.g. for cordova) run gradle task createFullJarRelease
and use full.jar
To use a local maven repository (e.g. for testing new library version) comment in
//apply from: 'publishToMavenLocal.gradle'
set correct version and run gradle task publishToMavenLocal
.
This include file is not enabled by default, as it confuses jitpack