Skip to content

Commit

Permalink
0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gyuwon committed Jan 20, 2023
1 parent c522bd8 commit af0eab7
Show file tree
Hide file tree
Showing 22 changed files with 82 additions and 638 deletions.
73 changes: 73 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand All @@ -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
}
}
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
artifactVersion=0.0.4
77 changes: 0 additions & 77 deletions loom.eventsourcing.abstraction/build.gradle
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
}
1 change: 0 additions & 1 deletion loom.eventsourcing.abstraction/gradle.properties
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.
77 changes: 0 additions & 77 deletions loom.eventsourcing.contract/build.gradle
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
}
1 change: 0 additions & 1 deletion loom.eventsourcing.contract/gradle.properties
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.
77 changes: 0 additions & 77 deletions loom.eventsourcing.type/build.gradle
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
}
1 change: 0 additions & 1 deletion loom.eventsourcing.type/gradle.properties
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.
Loading

0 comments on commit af0eab7

Please sign in to comment.