diff --git a/docs/info/logbat/logbat-sdk/0.1.1/logbat-sdk-0.1.1.jar b/docs/info/logbat/logbat-sdk/0.1.1/logbat-sdk-0.1.1.jar new file mode 100644 index 0000000..fc6565f Binary files /dev/null and b/docs/info/logbat/logbat-sdk/0.1.1/logbat-sdk-0.1.1.jar differ diff --git a/docs/info/logbat/logbat-sdk/0.1.1/logbat-sdk-0.1.1.pom b/docs/info/logbat/logbat-sdk/0.1.1/logbat-sdk-0.1.1.pom new file mode 100644 index 0000000..6e1c947 --- /dev/null +++ b/docs/info/logbat/logbat-sdk/0.1.1/logbat-sdk-0.1.1.pom @@ -0,0 +1,33 @@ + + + + + + + + 4.0.0 + info.logbat + logbat-sdk + 0.1.1 + + + ch.qos.logback + logback-classic + 1.4.14 + runtime + + + org.slf4j + slf4j-api + 1.7.36 + runtime + + + com.fasterxml.jackson.core + jackson-databind + 2.15.2 + runtime + + + diff --git a/sdk/java/logbat-sdk/build.gradle b/sdk/java/logbat-sdk/build.gradle index 360ed48..2c72c48 100644 --- a/sdk/java/logbat-sdk/build.gradle +++ b/sdk/java/logbat-sdk/build.gradle @@ -1,9 +1,10 @@ plugins { id 'java' + id 'maven-publish' } group = 'info.logbat' -version = '1.0-SNAPSHOT' +version = '0.1.1' repositories { mavenCentral() @@ -15,10 +16,27 @@ java { } } +publishing { + publications { + mavenJava(MavenPublication) { + from components.java + } + } + repositories { + maven { + name = "local-repo" + url = project.layout.buildDirectory.dir("java").get().asFile.toURI() + } + } +} + dependencies { // logback implementation 'ch.qos.logback:logback-classic:1.4.14' + // slf4j + implementation 'org.slf4j:slf4j-api:1.7.36' + // objectMapper implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2' @@ -43,4 +61,9 @@ jar { 'Implementation-Version': version ) } + duplicatesStrategy = DuplicatesStrategy.EXCLUDE // 중복된 파일 무시 + + from { + configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } + } } \ No newline at end of file