senzhi
2026-01-21 9e1ac6553f85816b843b246697e26411fe1b74c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
plugins {
    id 'java'
    id 'org.springframework.boot' version '2.7.18'
    id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
repositories {
    maven {
        url 'http://1.95.69.137:9081/repository/maven-public/'
        allowInsecureProtocol = true
    }
    mavenLocal()
    maven { url 'https://maven.aliyun.com/repository/public' }
    maven { url 'https://maven.aliyun.com/repository/center' }
}
 
bootJar.enabled = true
jar.enabled = true
 
group = 'com.eternal'
version = '0.0.1-SNAPSHOT'
 
java {
    sourceCompatibility = '1.8'
    targetCompatibility = '1.8'
}
 
dependencies {
    implementation fileTree(dir: '/lib', include: ['*.jar'])
 
    implementation 'com.eternal:com.eternal.rfid.Common:2.1.20'
    implementation 'com.eternal:app-params-config:1.1.16'
 
    implementation 'org.springframework.boot:spring-boot-starter-web'
    implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
 
    implementation 'com.alibaba.fastjson2:fastjson2:2.0.46'
 
    compileOnly 'org.projectlombok:lombok'
    annotationProcessor 'org.projectlombok:lombok'
    testCompileOnly('org.projectlombok:lombok')
    testAnnotationProcessor('org.projectlombok:lombok')
    testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
 
test {
    useJUnitPlatform()
}
 
tasks.withType(JavaCompile) {
    options.encoding = "UTF-8"
}