-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
147 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { | ||
|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { | ||
|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters