{"id":17551531,"url":"https://github.com/amirisback/jitpack-library-kotlin-dsl-guide","last_synced_at":"2025-04-24T02:22:41.821Z","repository":{"id":107338425,"uuid":"408076824","full_name":"amirisback/jitpack-library-kotlin-dsl-guide","owner":"amirisback","description":"Tutorial For openJDK 11 and AGP 7.0.0+ | Tutorial Multi Library Android in 1 Project | Kotlin DSL .kts","archived":false,"fork":false,"pushed_at":"2021-10-07T00:31:11.000Z","size":3527,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T10:23:25.668Z","etag":null,"topics":["android","android-library","kotlin-library","kotlindsl","kts"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amirisback.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://saweria.co/amirisback"}},"created_at":"2021-09-19T08:49:36.000Z","updated_at":"2024-06-06T06:33:37.000Z","dependencies_parsed_at":"2023-03-13T14:37:09.545Z","dependency_job_id":null,"html_url":"https://github.com/amirisback/jitpack-library-kotlin-dsl-guide","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirisback%2Fjitpack-library-kotlin-dsl-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirisback%2Fjitpack-library-kotlin-dsl-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirisback%2Fjitpack-library-kotlin-dsl-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirisback%2Fjitpack-library-kotlin-dsl-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirisback","download_url":"https://codeload.github.com/amirisback/jitpack-library-kotlin-dsl-guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250546445,"owners_count":21448334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","kotlin-library","kotlindsl","kts"],"created_at":"2024-10-21T04:46:30.984Z","updated_at":"2025-04-24T02:22:41.813Z","avatar_url":"https://github.com/amirisback.png","language":"Kotlin","funding_links":["https://saweria.co/amirisback"],"categories":[],"sub_categories":[],"readme":"## jitpack-library-kotlin-dsl-guide\n[![](https://jitpack.io/v/amirisback/jitpack-library-kotlin-dsl-guide.svg?style=flat-square)](https://jitpack.io/#amirisback/jitpack-library-kotlin-dsl-guide) \u003cbr\u003e\n\nFor openJDK 11 and AGP 7.0.0 +\n- Please read every single note for detail\n- Tutorial [Click Here](https://github.com/amirisback/jitpack-library-groovy-guide#how-to-publish-android-lib-using-openjdk-11-and-agp-700-)\n- Kotlin DSL [Click Here](https://github.com/amirisback/jitpack-library-kotlin-dsl-guide)\n\nRepository for testing build from jitpack.io\n- Red : Failed\n- Green : Success / Pass\n\n## Version Release\nThis Is Latest Release\n\n    $version_release = 1.0.1\n    $version_dcendents = 2.1\n\nWhat's New??\n\n    * Update Build Gradle to 7.0.2 *\n    * Enhance Performance *\n    * Android Library First *\n    * Android Library Second *\n    * Kotlin Library *\n    * Experimental 3 Library *\n    * Experimental Java/Kotlin Library *\n    * Kotlin DSL / KTS *\n\n## Download this project\n\n### Step 1. Add the JitPack repository to your build file (build.gradle : Project)\n\n    Add it in your root build.gradle at the end of repositories:\n\n    \tallprojects {\n    \t\trepositories {\n    \t\t\t...\n    \t\t\tmaven { url 'https://jitpack.io' }\n    \t\t}\n    \t}\n\n### Step 2. Add the dependency (build.gradle : Module)\n\n### For build.gradle (Groovy)\n    dependencies {\n        implementation 'com.github.amirisback:jitpack-library-kotlin-dsl-guide:1.0.1'\n    }\n\n### For build.gradle.kts (Kotlin DSL)\n    dependencies {\n        implementation(\"com.github.amirisback:jitpack-library-kotlin-dsl-guide:1.0.1\")\n    }\n\n## ScreenShoot External Libraries Implementation\n\n![ScreenShoot Apps](docs/image/result.png?raw=true)\n\n## How To Publish Android Lib Using openJDK 11 and AGP 7.0.0 +\n\n### Step 1. Create File jitpack.yml on root project. Add this code inside files\n\n    jdk:\n      - openjdk11\n\n### Step 2. Add classpath dcendents in buildscript (build.gradle : Project)\n```kotlin\ndependencies {\n    ...\n    // NOTE : This classpath use for multiple library module\n    classpath(\"com.github.dcendents:android-maven-gradle-plugin:2.1\")\n}\n```\n\n### Step 3. Add maven-publish on plugins (build.gradle : Module)\n- Attention : Choose one of the options below\n\n```kotlin\nplugins {\n    id(\"com.android.library\")\n    kotlin(\"android\")\n    id(\"kotlin-kapt\")\n    `maven-publish`\n}\n```\n### Step 4. Add publish code library (build.gradle : Module)\n\n```kotlin\n// NOTE : Delete afterEvaluate code if you publish Native Java / Kotlin Library\n// NOTE : Just Using publishing function\nafterEvaluate {\n    publishing {\n        publications {\n\n            // Creates a Maven publication called \"release\".\n            register(\"release\", MavenPublication::class) {\n\n                // Applies the component for the release build variant.\n                // NOTE : Delete this line code if you publish Native Java / Kotlin Library\n                from(components[\"release\"])\n\n                // Library Package Name (Example : \"com.frogobox.androidfirstlib\")\n                // NOTE : Different GroupId For Each Library / Module, So That Each Library Is Not Overwritten\n                groupId = ProjectSetting.PROJECT_LIB_ID_FIRST\n\n                // Library Name / Module Name (Example : \"androidfirstlib\")\n                // NOTE : Different ArtifactId For Each Library / Module, So That Each Library Is Not Overwritten\n                artifactId = ProjectSetting.LIBRARY_FIRST\n\n                // Version Library Name (Example : \"1.0.0\")\n                version = ProjectSetting.PROJECT_VERSION_NAME\n\n            }\n\n        }\n    }\n}\n```\n\n\n## Colaborator\nVery open to anyone, I'll write your name under this, please contribute by sending an email to me\n\n- Mail To faisalamircs@gmail.com\n- Subject : Github _ [Github-Username-Account] _ [Language] _ [Repository-Name]\n- Example : Github_amirisback_kotlin_admob-helper-implementation\n\nName Of Contribute\n- Muhammad Faisal Amir\n- Waiting List\n- Waiting List\n\nWaiting for your contribute\n\n## Attention !!!\n- Please enjoy and don't forget fork and give a star\n- Don't Forget Follow My Github Account\n\n![ScreenShoot Apps](docs/image/mad_score.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirisback%2Fjitpack-library-kotlin-dsl-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirisback%2Fjitpack-library-kotlin-dsl-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirisback%2Fjitpack-library-kotlin-dsl-guide/lists"}