Update to gradle 8

This commit is contained in:
OmerBenGera 2024-04-29 17:11:46 +03:00
parent db1e929296
commit 977fed5485
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'io.github.goooler.shadow' version '8.1.7'
id 'maven-publish'
}
@ -16,7 +16,7 @@ project.ext {
allprojects {
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'io.github.goooler.shadow'
java {
toolchain {
@ -122,4 +122,7 @@ build {
publish.shouldRunAfter shadowJar
shadowJar.shouldRunAfter build
build.shouldRunAfter subprojects.build
build.shouldRunAfter subprojects.build
shadowJar.dependsOn subprojects.build
compileJava.dependsOn childProjects.values().shadowJar

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists