diff --git a/build.gradle b/build.gradle index 8e03cf1..fcebbf0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ plugins { - id 'application' + id "application"; } -def defaultMainClassName = "Main" +def defaultMainClassName = "Main"; application { mainClass = project.hasProperty("mainClass") ? project.getProperty("mainClass") : defaultMainClassName; @@ -14,25 +14,25 @@ } repositories { + mavenCentral() // since the Jasper devs keep using their own custom builds of ancient // versions of other projects we need to add a repository for their // "special" versions. maven { - url 'https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/' + url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/" } - } dependencies { - implementation group: 'com.h2database', name: 'h2', version: '1.4.200' - implementation group: 'net.sourceforge.dynamicreports', name: 'dynamicreports-core', version: '6.12.1' - implementation group: 'org.simplejavamail', name: 'simple-java-mail', version: '8.1.0' - implementation group: 'com.formdev', name: 'flatlaf', version: '3.1.1' - implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1' - implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.7' - implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.4.7' + implementation group: "com.h2database", name: "h2", version: "2.1.214"; + implementation group: "net.sourceforge.dynamicreports", name: "dynamicreports-core", version: "6.12.1"; + implementation group: "org.simplejavamail", name: "simple-java-mail", version: "8.1.0"; + implementation group: "com.formdev", name: "flatlaf", version: "3.1.1"; + implementation group: "javax.xml.bind", name: "jaxb-api", version: "2.3.1"; + implementation group: "org.slf4j", name: "slf4j-api", version: "2.0.7"; + implementation group: "ch.qos.logback", name: "logback-classic", version: "1.4.7"; } project.configurations.implementation.setCanBeResolved(true) @@ -40,9 +40,9 @@ jar { manifest { attributes ( - 'Main-Class': 'Main', - 'Class-Path': configurations.implementation.collect { 'lib/' + it.name }.join(' ') - ) + "Main-Class": "Main", + "Class-Path": configurations.implementation.collect { "lib/" + it.name }.join(" ") + ) } }