buildscript { repositories { jcenter() mavenLocal() } dependencies { classpath 'org.codehaus.griffon:gradle-griffon-plugin:2.15.1' classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2' classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0' classpath 'org.gradle.api.plugins:gradle-izpack-plugin:0.2.3' classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4' classpath 'com.github.cr0:gradle-macappbundle-plugin:3.1.0' classpath 'org.kordamp.gradle:stats-gradle-plugin:0.2.2' classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' classpath 'de.gliderpilot.gradle.jnlp:gradle-jnlp-plugin:1.2.5' classpath 'net.nemerosa:versioning:2.6.1' } } apply plugin: 'org.codehaus.griffon.griffon' apply plugin: 'net.nemerosa.versioning' Date buildTimeAndDate = new Date() ext { buildDate = new SimpleDateFormat('yyyy-MM-dd').format(buildTimeAndDate) buildTime = new SimpleDateFormat('HH:mm:ss.SSSZ').format(buildTimeAndDate) macosx = System.getProperty('os.name').contains('Mac OS') } griffon { disableDependencyResolution = false includeGroovyDependencies = true version = '2.15.1' toolkit = 'swing' applicationProperties = [ 'build_date' : buildDate, 'build_time' : buildTime, 'build_revision': versioning.info.commit ] } mainClassName = 'com.muwire.gui.Launcher' applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties'] apply from: 'gradle/publishing.gradle' // apply from: 'gradle/code-coverage.gradle' // apply from: 'gradle/code-quality.gradle' // apply from: 'gradle/integration-test.gradle' // apply from: 'gradle/package.gradle' apply from: 'gradle/docs.gradle' apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'org.kordamp.gradle.stats' apply plugin: 'com.github.ben-manes.versions' apply plugin: 'com.github.kt3k.coveralls' dependencies { compile project(":core") compile "org.codehaus.griffon:griffon-guice:${griffon.version}" // runtime "org.slf4j:slf4j-simple:${slf4jVersion}" runtime group: 'org.slf4j', name: 'slf4j-jdk14', version: "${slf4jVersion}" runtime group: 'org.slf4j', name: 'slf4j-api', version: "${slf4jVersion}" runtime group: 'org.slf4j', name: 'jul-to-slf4j', version: "${slf4jVersion}" runtime "javax.annotation:javax.annotation-api:1.3.2" testCompile "org.codehaus.griffon:griffon-fest-test:${griffon.version}" testCompile "org.spockframework:spock-core:${spockVersion}" testCompile('org.awaitility:awaitility-groovy:3.1.0') { exclude group: 'org.codehaus.groovy', module: 'groovy-all' } testCompile "org.codehaus.groovy:groovy-all:${groovyVersion}" } task sourceJar(type: Jar) { group 'Build' description 'An archive of the source code' classifier 'sources' from sourceSets.main.allSource } tasks.withType(JavaCompile) { sourceCompatibility = project.sourceCompatibility targetCompatibility = project.targetCompatibility } tasks.withType(GroovyCompile) { sourceCompatibility = project.sourceCompatibility targetCompatibility = project.targetCompatibility } import com.github.jengelman.gradle.plugins.shadow.transformers.* import java.text.SimpleDateFormat ext.backgroundImage = 'i2plogo.png' shadowJar { transform(ServiceFileTransformer) transform(ServiceFileTransformer) { path = 'META-INF/griffon' } transform(ServiceFileTransformer) { path = 'META-INF/types' } transform(PropertieHTTP/1.1 200 OK Connection: close Content-Disposition: inline; filename="build.gradle"; filename*=UTF-8''build.gradle Date: Wed, 23 Jul 2025 11:27:14 GMT Access-Control-Expose-Headers: Content-Disposition X-Frame-Options: SAMEORIGIN Cache-Control: public, max-age=21600, no-transform Last-Modified: Sat, 19 Oct 2019 03:45:45 GMT Content-Length: 5056 Content-Type: text/plain; charset=utf-8 Etag: "3c89cdcc70d1be3a6e69439d9b65035d36af55e5" X-Content-Type-Options: nosniff X-Cache-Status: HIT X-Cache-Age: 0 buildscript { repositories { jcenter() mavenLocal() } dependencies { classpath 'org.codehaus.griffon:gradle-griffon-plugin:2.15.1' classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2' classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0' classpath 'org.gradle.api.plugins:gradle-izpack-plugin:0.2.3' classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4' classpath 'com.github.cr0:gradle-macappbundle-plugin:3.1.0' classpath 'org.kordamp.gradle:stats-gradle-plugin:0.2.2' classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' classpath 'de.gliderpilot.gradle.jnlp:gradle-jnlp-plugin:1.2.5' classpath 'net.nemerosa:versioning:2.6.1' } } apply plugin: 'org.codehaus.griffon.griffon' apply plugin: 'net.nemerosa.versioning' Date buildTimeAndDate = new Date() ext {