This repository contains the libraries and build steps required due to the JCenter repository decommissioning.
- Clone
git@github.com:dm77/barcodescanner.git
- Copy source at v1.19.13 commit 8d5d347 to projects folder.
- Set JAVA_HOME to JDK 11. My local example:
export JAVA_HOME="/Users/dhuff/Library/Java/JavaVirtualMachines/corretto-11.0.24/Contents/Home"
./gradlew build
- Copy ./[core|zbar|xzing]/build/outputs/aar/[core|zbar|xzing]-release.aar to common libs location.
-
Clone
git@github.com:Kotlin/anko.git
-
Copy source at tag: v0.10.8, commit: e12c5cb to projects folder.
-
Perform shadow build.
-
Build:
-
./gradlew :generated:anko-sdk21:build
-
./gradlew :generated:anko-commons:build
-
./gradlew generated:anko-appcompat-v7:build
-
./gradlew generated:anko-support-v4:build
-
./gradlew generated:anko-support-v4-commons:build
-
Copy
anko/library/generated/{library}/build/outputs/aar/anko-{library}-release.aar
tolibs/com.github.Kotlin.anko/v0.10.8
-
Build:
./gradlew generated:anko:buildNeeded
- Clone
git@github.com:GradleUp/shadow.git
- Copy source at tag: 2.0.4, commit: 477db403 to projects folder.
- Switch to Java 8. Sample:
export JAVA_HOME="/Users/dhuff/Library/Java/JavaVirtualMachines/corretto-1.8.0_422/Contents/Home"
- Perform asciidoctorj-groovy-dsl build.
./gradlew build
to build and test. Verify tests pass.- Copy
build/libs/*.jar
to../anko/libs
These steps are performed to build shadow
.
- Clone
git@github.com:asciidoctor/asciidoctorj-groovy-dsl.git
- Copy source at tag: 1.0.0.preview2, commit: b18abb1 to projects folder.
./gradlew assemble
- Copy ./build/libs/asciidoctorj-groovy-dsl.jar
- Clone
git@github.com:QuickPermissions/QuickPermissions-Kotlin.git
- Copy source at tag: 0.4.1, commit: 98e176a to projects folder
projects/QuickPermissions-Kotlin
. - Build com.github.Kotlin.anko:commons:v0.10.5 to populate
projects/QuickPermissions-Kotlin/libs
folder. ./gradlew quickpermissions-kotlin:assemble
Note: Do not need to build theapp
project- Copy
projects/QuickPermissions-Kotlin/quickpermissions-kotlin/build/outputs/aar/quickpermissions-kotlin-release.aar
tolibs/QuickPermissions-Kotlin-0.4.1
folder.
Anko-commons:v0.10.5 is required by QuickPermissions. Anko-commons:v0.10.8 does not work here.
- Clone
git@github.com:Kotlin/anko.git
- Copy source at tag: v0.10.5, commit: 0f99e9f to projects folder
projects/anko-0.10.5
. - Set
sdk.dir=/{your path}/Library/Android/sdk
in `projects/anko-0.10.5/local.properties'. ./gradlew :generated:anko-commons:build
- Copy
projects/anko-0.10.5/anko/library/generated/commons/build/outputs/aar/anko-commons-release.aar
toprojects/QuickPermissions-Kotlin/libs
folder
- Clone
git@github.com:InsertKoinIO/koin.git
- Copy source at tag: 2.0.1, commit: 12e06086 to projects folder
projects/koin
. cd projects/koin/koin-projects
- Builds:
./gradlew koin-android:bundleReleaseAar
./gradlew koin-android-scope:bundleReleaseAar
./gradlew koin-android-viewmodel:bundleReleaseAar
./gradlew koin-androidx-viewmodel:bundleReleaseAar
./gradlew koin-core:assemble
- Copy built aar and jar files to
libs/koin/2.0.1
folder.- koin-android-release.aar
- koin-android-scope-release.aar
- koin-android-viewmodel-release.aar
- koin-androidx-viewmodel-release.aar
- koin-core-2.0.1-javadoc.jar
- koin-core-2.0.1-sources.jar
- koin-core-2.0.1.jar