We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8fa4dc2 + f3a18dd commit 4ce6e13Copy full SHA for 4ce6e13
2 files changed
.github/workflows/release.yml
@@ -5,6 +5,9 @@ on:
5
tags:
6
- "v*"
7
8
+permissions:
9
+ contents: write
10
+
11
jobs:
12
build:
13
runs-on: ubuntu-latest
build.gradle.kts
@@ -1,4 +1,4 @@
1
-import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
+import com.gradleup.shadow.ShadowJar
2
3
fun getVersionName(tagName: String) = if(tagName.startsWith("v")) tagName.substring(1) else tagName
4
val gitTagName: String? get() = Regex("(?<=refs/tags/).*").find(System.getenv("GITHUB_REF") ?: "")?.value
@@ -10,7 +10,7 @@ version = gitTagName?.run { getVersionName(this) } ?: debugVersion
plugins {
id("java")
- id("com.github.johnrengelman.shadow") version "7.1.2"
+ id("com.gradleup.shadow") version "8.3.6"
14
}
15
16
repositories {
0 commit comments