Skip to content

MCT-LIB/JitPackPublish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

JitPack Publish

  • How to publish android library (gradle 8.0 onwards)
  • Please follow the steps below

Just 4 step

Step 1: Create file jitpack.yml (same level as project path)

Step 2: Create file github-jitpack-publish.gradle (same level as library path)

Step 3: Config your library (copy below code to your library gradle)

apply from: './github-jitpack-publish.gradle'

GithubJitPackPublish {
    it.userName = "{github-username}"
    it.repositoryName = "{repository-name}"
    it.version = "1.0.0" (optional)
    it.release = true (optional)
}

Step 4: Almost done

  • Push code to github
  • Create new tag and release
  • Go to https://jitpack.io and search your library

Well done

  • Please star this project if you find it useful.

About

How to publish android library (gradle 8.0 onwards)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published