Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kurthere123 authored and austin17ng committed Oct 10, 2024
1 parent dbae424 commit 4f0a491
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
26 changes: 26 additions & 0 deletions austintab/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
id ("maven-publish")
}

android {
Expand Down Expand Up @@ -30,6 +31,11 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}
publishing {
singleVariant("release") {
withSourcesJar()
}
}
}

dependencies {
Expand All @@ -38,4 +44,24 @@ dependencies {
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.activity)
}

publishing {
publications {
register<MavenPublication>("release") {
groupId = "io.github.austin17ng"
artifactId = "austintab"
version = "1.0.0"

afterEvaluate {
from(components["release"])
}
}
}

repositories {
maven {
url = uri("https://jitpack.io")
}
}
}
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.android.library) apply false
id ("maven-publish")
}
5 changes: 5 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jdk:
- openjdk17
before_install:
- sdk install java 17.0.7-open
- sdk use java 17.0.7-open

0 comments on commit 4f0a491

Please sign in to comment.