From 74c95909422a3d6cf595c9515a70ba3f4af1be73 Mon Sep 17 00:00:00 2001 From: USER Date: Thu, 7 May 2026 12:14:59 +0530 Subject: [PATCH] [LIBX] Security dependency upgrades + code migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - junit:junit: 4.12 → 4.13 (GHSA-269g-pwp5-87pp) --- build.gradle | 106 +++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/build.gradle b/build.gradle index 79975bb..80ec24d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,53 +1,53 @@ -plugins { - id 'java' - id "org.sonarqube" version "4.2.1.3168" - id "com.diffplug.spotless" version "6.20.0" - id 'test-report-aggregation' -} - -repositories { - mavenCentral() -} - -sourceSets { - main { - java { - srcDir 'src/main/java/' - } - resources { - srcDir 'Images/' - } - } -} - -jar { - manifest { - attributes( - 'Main-Class': 'DCourt.DCourtFrame', - ) - } -} - -dependencies { - testImplementation 'junit:junit:4.12' - testImplementation 'org.mockito:mockito-core:5.4.0' -} - -spotless { - java { - googleJavaFormat() - } -} - -test { - // Discover and execute JUnit4-based tests - useJUnit() -} - -reporting { - reports { - testAggregateTestReport(AggregateTestReport) { - testType = TestSuiteType.UNIT_TEST - } - } -} +plugins { + id 'java' + id "org.sonarqube" version "4.2.1.3168" + id "com.diffplug.spotless" version "6.20.0" + id 'test-report-aggregation' +} + +repositories { + mavenCentral() +} + +sourceSets { + main { + java { + srcDir 'src/main/java/' + } + resources { + srcDir 'Images/' + } + } +} + +jar { + manifest { + attributes( + 'Main-Class': 'DCourt.DCourtFrame', + ) + } +} + +dependencies { + testImplementation 'junit:junit:4.13' + testImplementation 'org.mockito:mockito-core:5.4.0' +} + +spotless { + java { + googleJavaFormat() + } +} + +test { + // Discover and execute JUnit4-based tests + useJUnit() +} + +reporting { + reports { + testAggregateTestReport(AggregateTestReport) { + testType = TestSuiteType.UNIT_TEST + } + } +}