39d08bf9ba
- DamoManager 위치/패키지 선언 이전 - build.gradle group, mainClass 동기화 - README 내 FQCN/경로 일괄 갱신 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
group = 'com.eactive.ext.djb'
|
|
version = '1.0.0'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
stub {
|
|
java {
|
|
srcDirs = ['src/stub/java']
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// scpdb 가짜 시그니처. 메인 컴파일 통과 전용. 최종 jar 에는 포함되지 않음.
|
|
compileOnly sourceSets.stub.output
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
jar {
|
|
archiveBaseName = 'damo-manager'
|
|
archiveVersion = ''
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title' : 'damo-manager',
|
|
'Implementation-Version': project.version,
|
|
'Built-By' : 'damo-manager gradle build'
|
|
)
|
|
}
|
|
}
|
|
|
|
// Fake 모드 스모크 검증용. 실행: ./gradlew runFakeSmoke
|
|
tasks.register('runFakeSmoke', JavaExec) {
|
|
group = 'verification'
|
|
description = 'Run DamoManager main() with no scpdb on classpath (fake mode smoke test)'
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
mainClass = 'com.eactive.ext.djb.DamoManager'
|
|
dependsOn 'classes'
|
|
}
|