From 7c88a461855cc0d5a0097365ab5aa65249481d03 Mon Sep 17 00:00:00 2001 From: Muhammad Faisal Amir Date: Thu, 7 Oct 2021 07:02:29 +0700 Subject: [PATCH] Release v1.0.3 --- README.md | 10 ++++++++-- build.gradle.kts | 14 ++++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fcb4331..8dc0e1b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Repository for testing build from jitpack.io ## Version Release This Is Latest Release - $version_release = 1.0.2 + $version_release = 1.0.3 What's New?? @@ -30,8 +30,14 @@ What's New?? ### Step 2. Add the dependency (build.gradle : Module) +### For build.gradle (Groovy) dependencies { - implementation 'com.github.amirisback:sample-kotlin-library:1.0.2' + implementation 'com.github.amirisback:sample-kotlin-library:1.0.3' + } + +### For build.gradle.kts (Kotlin DSL) + dependencies { + implementation("com.github.amirisback:sample-kotlin-library:1.0.3") } diff --git a/build.gradle.kts b/build.gradle.kts index 68ef029..faf5389 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,7 +13,7 @@ plugins { group = "com.frogobox" /** Artifact version. Note that "SNAPSHOT" in the version is not supported by bintray. */ -version = "1.0.2" +version = "1.0.3" /** This is from settings.gradle.kts. */ val myArtifactId: String = rootProject.name @@ -43,6 +43,7 @@ repositories { } dependencies { + implementation(kotlin("stdlib-jdk8")) implementation(compose.desktop.currentOs) } @@ -120,9 +121,18 @@ publishing { } repositories { + maven { - maven { url = uri("https://jitpack.io") } + name = "GitHubPackages" + url = uri("https://maven.pkg.github.com/${myGithubUsername}/${myArtifactId}") + credentials { + username = System.getenv("GITHUB_PACKAGES_USERID") + password = System.getenv("GITHUB_PACKAGES_PUBLISH_TOKEN") + } } + + maven { url = uri("https://jitpack.io") } + } } \ No newline at end of file