From c675acfff352e37bf7dec102437b47d3c8c5a52d Mon Sep 17 00:00:00 2001 From: modmuss Date: Sun, 19 Nov 2023 14:43:06 +0000 Subject: Update deps (#535) --- build.gradle | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 08ccffe8..58cb0bad 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,6 @@ plugins { id 'maven-publish' + id 'com.github.johnrengelman.shadow' version '8.1.1' apply false } subprojects { @@ -7,9 +8,6 @@ subprojects { apply plugin: 'maven-publish' apply plugin: 'checkstyle' - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 - repositories { mavenLocal() mavenCentral() @@ -17,8 +15,8 @@ subprojects { } dependencies { - implementation 'com.google.guava:guava:30.1.1-jre' - implementation 'com.google.code.gson:gson:2.8.7' + implementation 'com.google.guava:guava:32.1.2-jre' + implementation 'com.google.code.gson:gson:2.10.1' testImplementation 'junit:junit:4.13.2' testImplementation 'org.hamcrest:hamcrest:2.2' @@ -29,13 +27,10 @@ subprojects { version = version + (System.getenv("GITHUB_ACTIONS") ? "" : "+local") - task sourcesJar(type: Jar, dependsOn: classes) { - classifier = 'sources' - from sourceSets.main.allSource - } - java { withSourcesJar() + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } tasks.withType(JavaCompile).configureEach { @@ -46,7 +41,7 @@ subprojects { checkstyle { configFile = rootProject.file('checkstyle.xml') - toolVersion = '10.3.3' + toolVersion = '10.12.4' } publishing { -- cgit v1.2.3