// SPDX-FileCopyrightText: The openTCS Authors // SPDX-License-Identifier: MIT apply from: "${rootDir}/gradle/java-project.gradle" apply from: "${rootDir}/gradle/java-codequality.gradle" apply from: "${rootDir}/gradle/publishing-java.gradle" dependencies { api project(':opentcs-api-base') api group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: '2.3.3' api group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.9' implementation group: 'org.semver4j', name: 'semver4j', version: '5.4.0' // https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine implementation group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '3.1.8' // https://mvnrepository.com/artifact/io.netty/netty-all implementation group: 'io.netty', name: 'netty-all', version: '4.1.110.Final' // https://mvnrepository.com/artifact/org.springframework.retry/spring-retry implementation group: 'org.springframework.retry', name: 'spring-retry', version: '2.0.5' // https://mvnrepository.com/artifact/ch.qos.logback/logback-classic implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.16' // Lombok依赖 compileOnly 'org.projectlombok:lombok:1.18.30' annotationProcessor 'org.projectlombok:lombok:1.18.30' //fastjson implementation 'com.alibaba:fastjson:1.2.83' //okhttp implementation 'com.squareup.okhttp3:okhttp:4.12.0' // 嵌入式 MQTT 服务端代理 implementation 'io.moquette:moquette-broker:0.15' // MQTT 客户端 implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5' } processResources.doLast { // Write a properties file with the build version and date. def props = new Properties() props.setProperty('opentcs.version', version) props.setProperty('opentcs.builddate', project.ext.buildDate) new File(sourceSets.main.output.resourcesDir, 'opentcs.properties').withWriter() { props.store(it, null) } } task release { dependsOn build } tasks.withType(JavaCompile){ options.encoding="utf-8" } tasks.withType(Javadoc){ options.encoding="utf-8" }