Skip to content

Commit

Permalink
0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gyuwon committed Jan 19, 2023
1 parent e49957d commit 6d1031a
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 2 deletions.
70 changes: 69 additions & 1 deletion loom.json.abstraction/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}

dependencies {
api(project(':loom.type'))
api 'io.github.loom:loom.type:[0.0.1, 0.1.0)'
}

java {
Expand All @@ -14,3 +16,69 @@ java {
test {
dependsOn('editorconfigCheck', 'checkstyleMain')
}

group = 'io.github.loom'
version = artifactVersion

jar {
manifest {
attributes(
'Specification-Title': artifactName,
'Specification-Version': artifactVersion,
'Specification-Vendor': 'io.github.loom',
'Implementation-Title': artifactName,
'Implementation-Version': artifactVersion,
'Implementation-Vendor': 'io.github.loom'
)
}
}

publishing {
repositories {
maven {
name "OSSRH"
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username System.getenv("MAVEN_USERNAME")
password System.getenv("MAVEN_PASSWORD")
}
}
}

publications {
maven(MavenPublication) {
artifactId artifactId
from components.java
pom {
name = artifactName
description = artifactDescription
url = "https://github.com/loom/loom-java"
licenses {
license {
name = "MIT License"
url = "https://github.com/loom/loom-java/blob/main/LICENSE"
}
}
developers {
developer {
id = "gyuwon"
name = "Gyuwon Yi"
email = "[email protected]"
}
}
scm {
connection = "https://github.com/loom/loom-java.git"
developerConnection = "https://github.com/loom/loom-java.git"
url = "https://github.com/loom/loom-java"
}
}
}
}
}

signing {
def signingKey = System.getenv("SIGNING_KEY")
def signingPassword = System.getenv("SIGNING_PASSWORD")
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.maven
}
4 changes: 4 additions & 0 deletions loom.json.abstraction/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
artifactId=loom-json-abstraction
artifactName=Loom Json Abstraction
artifactVersion=0.0.2
artifactDescription=Abstraction layer for JSON serialization.
70 changes: 69 additions & 1 deletion loom.messaging.abstraction/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}

dependencies {
api(project(':loom.messaging.contract'))
api 'io.github.loom:loom.messaging.contract:[0.0.1, 0.1.0)'
}

java {
Expand All @@ -14,3 +16,69 @@ java {
test {
dependsOn('editorconfigCheck', 'checkstyleMain')
}

group = 'io.github.loom'
version = artifactVersion

jar {
manifest {
attributes(
'Specification-Title': artifactName,
'Specification-Version': artifactVersion,
'Specification-Vendor': 'io.github.loom',
'Implementation-Title': artifactName,
'Implementation-Version': artifactVersion,
'Implementation-Vendor': 'io.github.loom'
)
}
}

publishing {
repositories {
maven {
name "OSSRH"
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username System.getenv("MAVEN_USERNAME")
password System.getenv("MAVEN_PASSWORD")
}
}
}

publications {
maven(MavenPublication) {
artifactId artifactId
from components.java
pom {
name = artifactName
description = artifactDescription
url = "https://github.com/loom/loom-java"
licenses {
license {
name = "MIT License"
url = "https://github.com/loom/loom-java/blob/main/LICENSE"
}
}
developers {
developer {
id = "gyuwon"
name = "Gyuwon Yi"
email = "[email protected]"
}
}
scm {
connection = "https://github.com/loom/loom-java.git"
developerConnection = "https://github.com/loom/loom-java.git"
url = "https://github.com/loom/loom-java"
}
}
}
}
}

signing {
def signingKey = System.getenv("SIGNING_KEY")
def signingPassword = System.getenv("SIGNING_PASSWORD")
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.maven
}
4 changes: 4 additions & 0 deletions loom.messaging.abstraction/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
artifactId=loom-messaging-abstraction
artifactName=Loom Messaging Abstraction
artifactVersion=0.0.2
artifactDescription=Abstraction layer for asynchronous messaging.
1 change: 1 addition & 0 deletions loom.unittest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies {
testImplementation(project(':loom.type'))
testImplementation(project(':loom.json.abstraction'))
testImplementation(project(':loom.json.jackson'))
testImplementation(project(':loom.messaging.contract'))
testImplementation(project(':loom.messaging.abstraction'))
testImplementation(project(':loom.eventsourcing.contract'))
testImplementation(project(':loom.eventsourcing.abstraction'))
Expand Down

0 comments on commit 6d1031a

Please sign in to comment.