-
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
22 changed files
with
82 additions
and
638 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 |
---|---|---|
|
@@ -8,16 +8,26 @@ allprojects { | |
repositories { | ||
mavenCentral() | ||
} | ||
|
||
group = 'io.github.loom' | ||
version = artifactVersion | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'java' | ||
apply plugin: 'org.ec4j.editorconfig' | ||
apply plugin: 'checkstyle' | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'signing' | ||
|
||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
java { | ||
withJavadocJar() | ||
withSourcesJar() | ||
} | ||
|
||
editorconfig { | ||
excludes = ["build"] | ||
} | ||
|
@@ -37,4 +47,67 @@ subprojects { | |
maxErrors = 0 | ||
maxWarnings = 0 | ||
} | ||
|
||
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 @@ | ||
artifactVersion=0.0.4 |
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,85 +1,8 @@ | ||
plugins { | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
} | ||
|
||
dependencies { | ||
api 'io.github.loom:loom.eventsourcing.contract:[0.0.1, 0.1.0)' | ||
api 'io.github.loom:loom.messaging.abstraction:[0.0.1, 0.1.0)' | ||
} | ||
|
||
java { | ||
withJavadocJar() | ||
withSourcesJar() | ||
} | ||
|
||
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
artifactId=loom-eventsourcing-abstraction | ||
artifactName=Loom Event Sourcing Abstraction | ||
artifactVersion=0.0.3 | ||
artifactDescription=Abstraction layer for the event sourcing pattern. |
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,83 +1,6 @@ | ||
plugins { | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
} | ||
|
||
dependencies { | ||
} | ||
|
||
java { | ||
withJavadocJar() | ||
withSourcesJar() | ||
} | ||
|
||
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
artifactId=loom-eventsourcing-contract | ||
artifactName=Loom Event Sourcing Contract | ||
artifactVersion=0.0.1 | ||
artifactDescription=Define types for event streams. |
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,85 +1,8 @@ | ||
plugins { | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
} | ||
|
||
dependencies { | ||
api 'io.github.loom:loom.eventsourcing.contract:[0.0.1, 0.1.0)' | ||
api 'io.github.loom:loom.type:[0.0.1, 0.1.0)' | ||
} | ||
|
||
java { | ||
withJavadocJar() | ||
withSourcesJar() | ||
} | ||
|
||
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
artifactId=loom-eventsourcing-type | ||
artifactName=Loom Event Sourcing Type | ||
artifactVersion=0.0.3 | ||
artifactDescription=Support serialization of types for event streams. |
Oops, something went wrong.