Tutorial For openJDK 11 and AGP 7.0.0+ | Tutorial Multi Library Android in 1 Project | Groovy

Overview

jitpack-library-guide


For openJDK 11 and AGP 7.0.0 +

Repository for testing build from jitpack.io

  • Red : Failed
  • Green : Success / Pass

Version Release

This Is Latest Release

$version_release = 1.1.2
$version_dcendents = 2.1

What's New??

* Update Build Gradle to 7.0.2 *
* Enhance Performance *
* Android Library First *
* Android Library Second *
* Kotlin Library *
* Experimental 3 Library *
* Experimental Java/Kotlin Library *
* Renaming JitPack Library Guide Into JitPack Library Groovy Guide *

Download this project

Step 1. Add the JitPack repository to your build file (build.gradle : Project)

Add it in your root build.gradle at the end of repositories:

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

Step 2. Add the dependency (build.gradle : Module)

dependencies {
    implementation 'com.github.amirisback:jitpack-library-groovy-guide:1.1.2'
}

ScreenShoot External Libraries Implementation

ScreenShoot Apps

How To Publish Android Lib Using openJDK 11 and AGP 7.0.0 +

Step 1. Create File jitpack.yml on root project. Add this code inside files

jdk:
  - openjdk11

Step 2. Add classpath dcendents in buildscript (build.gradle : Project)

dependencies {
    ...
    // NOTE : This classpath use for multiple library module
    classpath 'com.github.dcendents:android-maven-gradle-plugin:$version_dcendents'
}

Step 3. Add maven-publish on plugins (build.gradle : Module)

  • Attention : Choose one of the options below

Option 1

apply plugin: 'com.android.library'
...
apply plugin: 'maven-publish'

Option 2

plugins {
    id 'com.android.library'
    ...
    id 'maven-publish'
}

Step 4. Add publish code library (build.gradle : Module)

// NOTE : Delete afterEvaluate code if you publish Native Java / Kotlin Library
// NOTE : Just Using publishing function
afterEvaluate {
    publishing {
        publications {

            // Creates a Maven publication called "release".
            release(MavenPublication) {

                // Applies the component for the release build variant.
                from components.release

                // Library Package Name (Example : "com.frogobox.androidfirstlib")
                // NOTE : Different GroupId For Each Library / Module, So That Each Library Is Not Overwritten
                groupId = projectFirstLibraryId

                // Library Name / Module Name (Example : "androidfirstlib")
                // NOTE : Different ArtifactId For Each Library / Module, So That Each Library Is Not Overwritten
                artifactId = firstLibrary

                // Version Library Name (Example : "1.0.0")
                version = projectVersionName

            }
        }
    }
}

Colaborator

Very open to anyone, I'll write your name under this, please contribute by sending an email to me

  • Mail To [email protected]
  • Subject : Github _ [Github-Username-Account] _ [Language] _ [Repository-Name]
  • Example : Github_amirisback_kotlin_admob-helper-implementation

Name Of Contribute

  • Muhammad Faisal Amir
  • Waiting List
  • Waiting List

Waiting for your contribute

Attention !!!

  • Please enjoy and don't forget fork and give a star
  • Don't Forget Follow My Github Account

ScreenShoot Apps

You might also like...
This project is an investigation of Hystrix in the Kotlin language

from-paris-to-berlin-circuit-breaker Technologies used This project is an investigation of Circuit-Breakers in the Kotlin language 👇 👇 👇 🚧 🚧 🚧 U

A VikeLabs project meant for navigating around UVic

maps This is a VikeLabs project meant for navigating around UVic. It's structured as a multi-module gradle project with an api server and a web app (i

UpSchool Capstone Project - Course selling application with MVVM, LiveData, DataBinding, Retrofit, Room Database, Navigation Component,  Adapter, Firebase Auth, Picasso, Lottie
UpSchool Capstone Project - Course selling application with MVVM, LiveData, DataBinding, Retrofit, Room Database, Navigation Component, Adapter, Firebase Auth, Picasso, Lottie

UpSchool Capstone Project - Course selling application with MVVM (Model, View, ViewModel), LiveData, DataBinding, Retrofit, Room Database, Navigation Component(NavGraph, BottomNav), Adapter, Firebase Auth, Picasso, Lottie

An android library for displaying fps from the choreographer and percentage of time with two or more frames dropped
An android library for displaying fps from the choreographer and percentage of time with two or more frames dropped

DEPRECATED TinyDancer is deprecated. No more development will be taking place. Check out the Google Android developer documentation for UI performance

A plug and play ;) android library for displaying a
A plug and play ;) android library for displaying a "rate this app" dialog

Easy Rating Dialog This lib provides a simple way to display an alert dialog for rating app. Default conditions to show: User opened the app more than

ZXing (
ZXing ("Zebra Crossing") barcode scanning library for Java, Android

Project in Maintenance Mode Only The project is in maintenance mode, meaning, changes are driven by contributed patches. Only bug fixes and minor enha

Android Library to help you with your runtime Permissions.
Android Library to help you with your runtime Permissions.

PermissionHelper Android Library to help you with your runtime Permissions. Demo Android M Watch it in action. Pre M Watch it in action. Nexus 6 (M) N

Android validation library which helps developer boil down the tedious work to three easy steps.
Android validation library which helps developer boil down the tedious work to three easy steps.

AwesomeValidation Introduction Implement validation for Android within only 3 steps. Developers should focus on their awesome code, and let the librar

Android library that manages your app's cached data with ease.
Android library that manages your app's cached data with ease.

Teller Android library that makes your apps faster. Teller facilitates the downloading, saving, and reading of the cached data of your app. Keep your

Releases(1.1.3)
  • 1.1.3(Oct 7, 2021)

    * Update Build Gradle to 7.0.2 *
    * Enhance Performance *
    * Android Library First *
    * Android Library Second *
    * Kotlin Library *
    * Experimental 3 Library *
    * Experimental Java/Kotlin Library *
    * Renaming JitPack Library Guide Into JitPack Library Groovy Guide *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.1.2(Sep 19, 2021)

    * Update Build Gradle to 7.0.2 *
    * Enhance Performance *
    * Android Library First *
    * Android Library Second *
    * Kotlin Library *
    * Experimental 3 Library *
    * Experimental Java/Kotlin Library *
    * Renaming JitPack Library Guide Into JitPack Library Groovy Guide *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.1.1(Sep 12, 2021)

    jitpack-library-guide

    For openJDK 11 and AGP 7.0.0 +

    • Please read every single note for detail
    • Tutorial Click Here

    Repository for testing build from jitpack.io

    • Red : Failed
    • Green : Success / Pass

    Version Release

    This Is Latest Release

    $version_release = 1.1.1
    $version_dcendents = 2.1
    

    What's New??

    * Update Build Gradle to 7.0.2 *
    * Enhance Performance *
    * Android Library First *
    * Android Library Second *
    * Kotlin Library *
    * Experimental 3 Library *
    * Experimental Java/Kotlin Library *
    * Renaming JitPack Library Test Into JitPack Library Guide *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.1.0(Sep 12, 2021)

    * Update Build Gradle to 7.0.2 *
    * Enhance Performance *
    * Android Library First *
    * Android Library Second *
    * Kotlin Library *
    * Experimental 3 Library *
    * Experimental Java/Kotlin Library *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.0.9(Sep 12, 2021)

    * Update Build Gradle to 7.0.2 *
    * Enhance Performance *
    * Android Library First *
    * Android Library Second *
    * Kotlin Library *
    * Experimental 3 Library *
    * Experimental Java/Kotlin Library *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.0.7(Sep 12, 2021)

    * Update Build Gradle to 7.0.2 *
    * Enhance Performance *
    * Android Library First *
    * Android Library Second *
    * Kotlin Library *
    * Experimental 3 Library *
    * Experimental Java/Kotlin Library *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.0.5(Sep 12, 2021)

  • 1.0.4(Aug 18, 2021)

    Fixing : Jetpack Compose Version

    How To Publish Android Lib Using openJDK 11 and AGP 7.0.0 +

    Step 1. Add jitpack.yml on root project

    jdk:
      - openjdk11
    

    Step 2. Add maven-publish on plugins

    plugins {
        id 'com.android.library'
        ...
        id 'maven-publish'
    }
    

    Step 3. Add publish code library on build.gradle library module

    afterEvaluate {
        publishing {
            publications {
    
                // Creates a Maven publication called "release".
                release(MavenPublication) {
    
                    // Applies the component for the release build variant.
                    from components.release
    
                    // Library Package Name
                    groupId = 'com.frogobox.test'
    
                    // Github Repository Name
                    artifactId = 'jitpack-library-test'
    
                    // Version Library Name
                    version = "$projectVersionName"
    
                }
            }
        }
    }
    
    Source code(tar.gz)
    Source code(zip)
Owner
Faisal Amir
Android Programmer - Wants to colaboration? Please sending an email to me!!!
Faisal Amir
An Android project to showcase a multi-brand design system.

Table of contents Introduction Structure Architecture Implementation Testing Roadmap Introduction This is an Android showcase project based on Pokémon

Guilherme de Sá Christovão 3 Mar 10, 2022
Starter-Android-Library - Starter Android Library is an Android Project with Modular Architecture.

Starter-Android-Library - Starter Android Library is an Android Project with Modular Architecture.

OpenBytes 1 Feb 18, 2022
Using Resilience4J, this is a Demo project which uses a Library as background and manages all its requests.

Using Resilience4J, this is a Demo project which uses a Library as background and manages all its requests. This library can rent books online and the usage rate is extremely high. There is a reactive way to access, which is the one normally used, but sometimes, the system needs a bit of help from an old machine running a non-reactive MVC Spring application using JPA. Let's make this in Kotlin and find the best solution!

João Filipe Sabino Esperancinha 2 Jan 10, 2022
ArduinoJava - A project that uses the JSSC library

ArduinoJava este es un proyecto que utiliza la libreria JSSC para connectarse al

null 0 Jan 24, 2022
****. Use the native and support library variants instead - https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html. An android library that makes it easy to add custom fonts to edittexts and textviews

Add to your project Add this line to your dependencies in build.gradle compile 'in.workarounds.typography:typography:0.0.8' Using the views There are

Workarounds 43 Nov 6, 2021
Purpose for this base architectural project is to load it with all latest components and libraries So it become reference for all kind of Android projects

The purpose of this base architectural project is to load it with all the latest components and libraries, So it becomes a reference for all kinds of Android projects

null 7 Dec 7, 2021
File Picker for KMP project. Works for Android/JVM/Web.

KFilePicker File Picker for KMP project. Works for Android/JVM/Web. Setup Add Jitpack maven { url

Tlaster 7 Nov 11, 2022
Android App development internship project to create woman home screen for clothing company The Swastika.

Android App development internship project to create woman home screen for clothing company The Swastika.

Shradha Suryawanshi 2 Jun 12, 2022
A template project that builds a SDL application programmed in Zig to Android from scratch

A template project that builds a SDL application programmed in Zig to Android from scratch

Matheus Lessa 11 Jul 19, 2022
vShell (Virtual Shell) — a successor of Termux project which provides an alternate implementation of the Linux terminal emulator for Android OS

vShell (Virtual Shell) — a successor of Termux project which provides an alternate implementation of the Linux terminal emulator for Android OS

null 2 Feb 1, 2022