Giter Club home page Giter Club logo

jitpack-library-kotlin-dsl-guide's Introduction

jitpack-library-kotlin-dsl-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.0.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 *
* Kotlin DSL / KTS *

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)

For build.gradle (Groovy)

dependencies {
    implementation 'com.github.amirisback:jitpack-library-kotlin-dsl-guide:1.0.1'
}

For build.gradle.kts (Kotlin DSL)

dependencies {
    implementation("com.github.amirisback:jitpack-library-kotlin-dsl-guide:1.0.1")
}

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:2.1")
}

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

  • Attention : Choose one of the options below
plugins {
    id("com.android.library")
    kotlin("android")
    id("kotlin-kapt")
    `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".
            register("release", MavenPublication::class) {

                // Applies the component for the release build variant.
                // NOTE : Delete this line code if you publish Native Java / Kotlin Library
                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 = ProjectSetting.PROJECT_LIB_ID_FIRST

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

                // Version Library Name (Example : "1.0.0")
                version = ProjectSetting.PROJECT_VERSION_NAME

            }

        }
    }
}

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

jitpack-library-kotlin-dsl-guide's People

Contributors

amirisback avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nubpro miashopgal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.