12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- plugins {
- id 'java'
- }
- group = 'com.evps'
- version = '0.0.1'
- repositories {
- mavenCentral()
- }
- dependencies {
- // lombok 라이브러리 추가 시작
- compileOnly 'org.projectlombok:lombok'
- annotationProcessor 'org.projectlombok:lombok'
- testCompileOnly 'org.projectlombok:lombok'
- testAnnotationProcessor 'org.projectlombok:lombok'
- // lombok 라이브러리 추가 끝
- implementation 'io.netty:netty-all:4.1.52.Final'
- testImplementation platform('org.junit:junit-bom:5.10.0')
- testImplementation 'org.junit.jupiter:junit-jupiter'
- }
- processResources {
- enabled = false
- }
- bootJar {
- enabled = false
- }
- jar {
- enabled = true
- }
- test {
- useJUnitPlatform()
- }
- task runInstallJarLibrary(type:Exec) {
- doFirst {
- println "evps-common library install mvn repository..."
- workingDir = file('.')
- commandLine = ['cmd', '/C', 'start', 'install.bat']
- // cmd /C start ./install.bat
- }
- }
- jar.finalizedBy runInstallJarLibrary
- tasks.withType(JavaCompile) {
- options.compilerArgs << '-Xlint:unchecked'
- options.deprecation = true
- }
|