// build.gradle plugins { id 'java' id 'org.springframework.boot' version '3.4.5' id 'io.spring.dependency-management' version '1.1.7' } group = 'com.iflytop' version = '0.0.1-SNAPSHOT' java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } repositories { maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/spring' } } dependencies { implementation 'org.springframework.boot:spring-boot-starter' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-websocket:3.4.2' implementation 'org.springframework.statemachine:spring-statemachine-core:4.0.0' implementation 'org.springframework.boot:spring-boot-starter-validation:3.4.5' implementation 'org.springframework.boot:spring-boot-starter-aop' implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.6' implementation 'org.freemarker:freemarker:2.3.34' implementation 'org.xerial:sqlite-jdbc:3.48.0.0' implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4' implementation 'com.baomidou:mybatis-plus-boot-starter:3.5.10.1' implementation 'com.baomidou:mybatis-plus-generator:3.5.10.1' implementation 'com.baomidou:mybatis-plus-jsqlparser:3.5.10.1' implementation 'org.java-websocket:Java-WebSocket:1.6.0' implementation 'ch.qos.logback:logback-core:1.5.16' implementation 'cn.hutool:hutool-all:5.8.35' implementation 'com.github.xiaoymin:knife4j-openapi3-jakarta-spring-boot-starter:4.5.0' implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0' implementation 'com.fazecast:jSerialComm:2.11.0' implementation 'com.opencsv:opencsv:5.11' implementation files('lib/modbus4j-3.1.0.jar') compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } tasks.named('test') { enabled = false useJUnitPlatform() }