Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
LuftVerbot committed Dec 15, 2024
2 parents 78a5fe7 + ef3e4f8 commit a03fe90
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
13 changes: 13 additions & 0 deletions ext/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
id("java-library")
id("org.jetbrains.kotlin.jvm")
id("com.gradleup.shadow") version "8.3.0"
id("maven-publish")
}

java {
Expand Down Expand Up @@ -43,6 +44,18 @@ val gitCount = execute("git", "rev-list", "--count", "HEAD").toInt()
val verCode = gitCount
val verName = gitHash

publishing {
publications {
create<MavenPublication>("mavenJava") {
groupId = "dev.brahmkshatriya.echo.extension"
artifactId = extId
version = verName

from(components["java"])
}
}
}

tasks {
val shadowJar by getting(ShadowJar::class) {
archiveBaseName.set(extId)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ android.useAndroidX=true
kotlin.code.style=official
android.nonTransitiveRClass=true

libVersion=333c7fb3e6
libVersion=451be0d2b2

extType=music
extId=deezer
Expand Down
7 changes: 7 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
jdk:
- openjdk17
before_install:
- sdk install java 17.0.1-open
- sdk use java 17.0.1-open
install:
- ./gradlew clean ext:assemble publishToMavenLocal

0 comments on commit a03fe90

Please sign in to comment.