| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- plugins {
- id 'java'
- }
- group = 'com.utic.its'
- version = '0.0.1'
- compileJava.options.encoding = 'UTF-8'
- repositories {
- mavenLocal()
- mavenCentral()
- def os = org.gradle.internal.os.OperatingSystem.current()
- if (os.isWindows()) {
- flatDir {
- dirs 'C:/java/repository/'
- }
- } else {
- flatDir {
- dirs '/Users/openvalue/Projects/java/repository/'
- }
- }
- }
- dependencies {
- // lombok 라이브러리 추가 시작
- compileOnly 'org.projectlombok:lombok'
- annotationProcessor 'org.projectlombok:lombok'
- testCompileOnly 'org.projectlombok:lombok'
- testAnnotationProcessor 'org.projectlombok:lombok'
- // lombok 라이브러리 추가 끝
- implementation 'org.springframework.boot:spring-boot-starter-web'
- implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.1'
- // implementation 'org.mybatis:mybatis:3.5.7'
- // implementation 'org.mybatis:mybatis-spring:2.0.6'
- implementation 'org.springframework.boot:spring-boot-starter-aop'
- implementation 'io.netty:netty-all:4.1.52.Final'
- implementation 'com.its:utic-its-asn1:0.0.1'
- implementation 'com.its:its-common:0.0.1'
- implementation 'com.its:its-network:0.0.1'
- implementation 'com.its:its-spring:0.0.1'
- // SetWindowConsole
- implementation 'net.java.dev.jna:jna:5.13.0'
- implementation 'net.java.dev.jna:jna-platform:5.13.0'
- // implementation 'ch.qos.logback:logback-classic:1.2.7'
- // implementation 'org.slf4j:slf4j-api:1.7.32'
- // implementation('org.slf4j:slf4j-simple:1.7.32') {
- // exclude group: 'org.slf4j', module: 'slf4j-simple'
- // }
- }
- processResources {
- enabled = false
- }
- jar {
- enabled = true
- }
- test {
- useJUnitPlatform()
- }
- tasks.register('runInstallJarLibrary', Exec) {
- doFirst {
- println "utic-its-common library install mvn repository..."
- def os = org.gradle.internal.os.OperatingSystem.current()
- workingDir = file('.')
- if (os.isWindows()) {
- commandLine 'cmd', '/C', 'start', 'install.bat'
- } else {
- commandLine 'sh', './install.sh'
- }
- }
- }
- jar.finalizedBy runInstallJarLibrary
- compileJava.options.encoding = 'UTF-8'
- tasks.withType(JavaCompile).configureEach {
- options.compilerArgs << '-Xlint:unchecked'
- options.deprecation = true
- options.encoding = 'UTF-8'
- }
|