Skip to content

Commit

Permalink
release 3.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsinco committed Jan 12, 2025
1 parent 85e8c49 commit 903e281
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
REPO_SECRET: ${{ secrets.REPO_SECRET }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
arguments: publishRelease --stacktrace
arguments: publishRelease -Dsources=true --stacktrace
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ plugins {
}

group = "com.dre.brewery"
version = "3.4.8-SNAPSHOT"
version = "3.4.8"
val langVersion: Int = 17
val encoding: String = "UTF-8"

Expand Down Expand Up @@ -194,7 +194,10 @@ tasks.withType(xyz.jpenilla.runtask.task.AbstractRun::class) {

java {
toolchain.languageVersion = JavaLanguageVersion.of(langVersion)
//withSourcesJar() -> Add conditional for this
val b = System.getProperty("sources")
if (b != null && b.toBoolean()) {
withSourcesJar()
}
}


Expand Down

0 comments on commit 903e281

Please sign in to comment.