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 + } + } +}