openrocket/swing/build.gradle

95 lines
3.4 KiB
Groovy
Raw Normal View History

2023-04-18 21:48:26 -05:00
plugins {
id "com.github.johnrengelman.shadow"
id 'java'
id 'com.adarshr.test-logger' version '3.2.0'
id 'checkstyle'
2024-02-22 19:49:55 +01:00
id 'org.gradlex.extra-java-module-info' version '1.8'
2023-04-18 21:48:26 -05:00
}
2024-02-22 19:49:55 +01:00
java {
2024-02-25 04:11:37 +01:00
// Must be disabled in order to use the gradle-modules-plugin
modularity.inferModulePath = false
2024-02-22 19:49:55 +01:00
}
2024-03-23 14:45:43 +01:00
def buildProperties = new Properties()
file('../core/src/main/resources/build.properties').withInputStream { buildProperties.load(it) }
group = 'info.openrocket'
version = buildProperties['build.version']
2023-04-18 21:48:26 -05:00
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
2024-02-22 19:49:55 +01:00
maven { url "https://jogamp.org/deployment/maven/" }
2023-04-18 21:48:26 -05:00
}
checkstyle {
ignoreFailures = false
maxWarnings = 0
}
2023-04-18 21:48:26 -05:00
configurations {
testArtifactsClasspath {
canBeConsumed = false
canBeResolved = true
}
}
2024-02-22 19:49:55 +01:00
// Some older libraries are not modularized, so we need to add module-info.java files for them.
extraJavaModuleInfo {
failOnMissingModuleInfo.set(false)
module('slf4j-api-1.7.25.jar', 'org.slf4j.api', '1.7.25')
module('slf4j-api-1.7.32.jar', 'org.slf4j.api', '1.7.32')
module('versioncompare-1.5.0.jar', 'versioncompare', '1.5.0')
module('gluegen-rt-2.5.0.jar', 'org.jogamp.gluegen.rt', '2.5.0') {
requires('java.desktop')
exportAllPackages()
}
module('jogl-all-2.5.0.jar', 'org.jogamp.jogl.all', '2.5.0') {
requires('java.desktop')
requires('org.jogamp.gluegen.rt')
exportAllPackages()
}
module('jcommon-1.0.24.jar', 'jcommon', '1.0.24') {
requires('java.desktop')
exportAllPackages()
}
module('itextpdf-5.5.13.3.jar', 'itextpdf', '5.5.13.3') {
requires('java.desktop')
exportAllPackages()
}
module('obj-0.4.0.jar', 'de.javagl.obj', '0.4.0')
}
2023-04-18 21:48:26 -05:00
dependencies {
2024-02-22 19:49:55 +01:00
implementation project(':core')
2023-04-18 21:48:26 -05:00
2024-02-22 19:49:55 +01:00
implementation 'de.javagl:obj:0.4.0'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.12'
2023-04-18 21:48:26 -05:00
implementation 'org.apache.commons:commons-lang3:3.12.0'
2024-03-23 14:45:43 +01:00
implementation group: 'org.commonmark', name: 'commonmark', version: '0.21.0'
2024-02-25 04:11:37 +01:00
implementation group: 'com.google.inject', name: 'guice', version: '7.0.0'
2024-02-22 19:49:55 +01:00
implementation group: 'com.itextpdf', name: 'itextpdf', version: '5.5.13.3'
2023-04-18 21:48:26 -05:00
implementation group: 'org.jfree', name: 'jcommon', version: '1.0.24'
2024-02-22 19:49:55 +01:00
implementation group: 'org.jfree', name: 'jfreechart', version: '1.5.4'
implementation group: 'com.miglayout', name: 'miglayout-core', version: '11.0'
implementation group: 'com.miglayout', name: 'miglayout-swing', version: '11.0'
implementation group: 'com.fifesoft', name: 'rsyntaxtextarea', version: '3.4.0'
2024-02-22 19:49:55 +01:00
implementation group: 'io.github.g00fy2', name: 'versioncompare', version: '1.5.0'
implementation 'com.github.Dansoftowner:jSystemThemeDetector:3.8'
2024-07-18 20:56:26 +02:00
implementation group: 'com.formdev', name: 'flatlaf', version: '3.5'
implementation group: 'com.formdev', name: 'flatlaf-extras', version: '3.5'
implementation group: 'com.formdev', name: 'flatlaf-intellij-themes', version: '3.5'
2024-02-22 19:49:55 +01:00
implementation group: 'ch.qos.logback', name: 'logback-core', version: '1.5.0'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.0'
2023-04-18 21:48:26 -05:00
2024-02-22 19:49:55 +01:00
implementation group: 'org.jogamp.gluegen', name: 'gluegen-rt-main', version:'2.5.0'
implementation group: 'org.jogamp.jogl', name: 'jogl-all-main', version: '2.5.0'
2023-04-18 21:48:26 -05:00
2024-02-27 05:43:34 +01:00
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.0'
2023-04-18 21:48:26 -05:00
}