Skip to content

Commit af0eab7

Browse files
committed
0.0.4
1 parent c522bd8 commit af0eab7

22 files changed

Lines changed: 82 additions & 638 deletions

File tree

build.gradle

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,26 @@ allprojects {
88
repositories {
99
mavenCentral()
1010
}
11+
12+
group = 'io.github.loom'
13+
version = artifactVersion
1114
}
1215

1316
subprojects {
1417
apply plugin: 'java'
1518
apply plugin: 'org.ec4j.editorconfig'
1619
apply plugin: 'checkstyle'
20+
apply plugin: 'maven-publish'
21+
apply plugin: 'signing'
1722

1823
sourceCompatibility = JavaVersion.VERSION_1_8
1924
targetCompatibility = JavaVersion.VERSION_1_8
2025

26+
java {
27+
withJavadocJar()
28+
withSourcesJar()
29+
}
30+
2131
editorconfig {
2232
excludes = ["build"]
2333
}
@@ -37,4 +47,67 @@ subprojects {
3747
maxErrors = 0
3848
maxWarnings = 0
3949
}
50+
51+
jar {
52+
manifest {
53+
attributes(
54+
'Specification-Title': artifactName,
55+
'Specification-Version': artifactVersion,
56+
'Specification-Vendor': 'io.github.loom',
57+
'Implementation-Title': artifactName,
58+
'Implementation-Version': artifactVersion,
59+
'Implementation-Vendor': 'io.github.loom'
60+
)
61+
}
62+
}
63+
64+
publishing {
65+
repositories {
66+
maven {
67+
name "OSSRH"
68+
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
69+
credentials {
70+
username System.getenv("MAVEN_USERNAME")
71+
password System.getenv("MAVEN_PASSWORD")
72+
}
73+
}
74+
}
75+
76+
publications {
77+
maven(MavenPublication) {
78+
artifactId artifactId
79+
from components.java
80+
pom {
81+
name = artifactName
82+
description = artifactDescription
83+
url = "https://github.com/loom/loom-java"
84+
licenses {
85+
license {
86+
name = "MIT License"
87+
url = "https://github.com/loom/loom-java/blob/main/LICENSE"
88+
}
89+
}
90+
developers {
91+
developer {
92+
id = "gyuwon"
93+
name = "Gyuwon Yi"
94+
email = "gyuwon@live.com"
95+
}
96+
}
97+
scm {
98+
connection = "https://github.com/loom/loom-java.git"
99+
developerConnection = "https://github.com/loom/loom-java.git"
100+
url = "https://github.com/loom/loom-java"
101+
}
102+
}
103+
}
104+
}
105+
}
106+
107+
signing {
108+
def signingKey = System.getenv("SIGNING_KEY")
109+
def signingPassword = System.getenv("SIGNING_PASSWORD")
110+
useInMemoryPgpKeys(signingKey, signingPassword)
111+
sign publishing.publications.maven
112+
}
40113
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
artifactVersion=0.0.4
Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,8 @@
11
plugins {
22
id 'java-library'
3-
id 'maven-publish'
4-
id 'signing'
53
}
64

75
dependencies {
86
api 'io.github.loom:loom.eventsourcing.contract:[0.0.1, 0.1.0)'
97
api 'io.github.loom:loom.messaging.abstraction:[0.0.1, 0.1.0)'
108
}
11-
12-
java {
13-
withJavadocJar()
14-
withSourcesJar()
15-
}
16-
17-
test {
18-
dependsOn('editorconfigCheck', 'checkstyleMain')
19-
}
20-
21-
group = 'io.github.loom'
22-
version = artifactVersion
23-
24-
jar {
25-
manifest {
26-
attributes(
27-
'Specification-Title': artifactName,
28-
'Specification-Version': artifactVersion,
29-
'Specification-Vendor': 'io.github.loom',
30-
'Implementation-Title': artifactName,
31-
'Implementation-Version': artifactVersion,
32-
'Implementation-Vendor': 'io.github.loom'
33-
)
34-
}
35-
}
36-
37-
publishing {
38-
repositories {
39-
maven {
40-
name "OSSRH"
41-
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
42-
credentials {
43-
username System.getenv("MAVEN_USERNAME")
44-
password System.getenv("MAVEN_PASSWORD")
45-
}
46-
}
47-
}
48-
49-
publications {
50-
maven(MavenPublication) {
51-
artifactId artifactId
52-
from components.java
53-
pom {
54-
name = artifactName
55-
description = artifactDescription
56-
url = "https://github.com/loom/loom-java"
57-
licenses {
58-
license {
59-
name = "MIT License"
60-
url = "https://github.com/loom/loom-java/blob/main/LICENSE"
61-
}
62-
}
63-
developers {
64-
developer {
65-
id = "gyuwon"
66-
name = "Gyuwon Yi"
67-
email = "gyuwon@live.com"
68-
}
69-
}
70-
scm {
71-
connection = "https://github.com/loom/loom-java.git"
72-
developerConnection = "https://github.com/loom/loom-java.git"
73-
url = "https://github.com/loom/loom-java"
74-
}
75-
}
76-
}
77-
}
78-
}
79-
80-
signing {
81-
def signingKey = System.getenv("SIGNING_KEY")
82-
def signingPassword = System.getenv("SIGNING_PASSWORD")
83-
useInMemoryPgpKeys(signingKey, signingPassword)
84-
sign publishing.publications.maven
85-
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
artifactId=loom-eventsourcing-abstraction
22
artifactName=Loom Event Sourcing Abstraction
3-
artifactVersion=0.0.3
43
artifactDescription=Abstraction layer for the event sourcing pattern.
Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,6 @@
11
plugins {
22
id 'java-library'
3-
id 'maven-publish'
4-
id 'signing'
53
}
64

75
dependencies {
86
}
9-
10-
java {
11-
withJavadocJar()
12-
withSourcesJar()
13-
}
14-
15-
test {
16-
dependsOn('editorconfigCheck', 'checkstyleMain')
17-
}
18-
19-
group = 'io.github.loom'
20-
version = artifactVersion
21-
22-
jar {
23-
manifest {
24-
attributes(
25-
'Specification-Title': artifactName,
26-
'Specification-Version': artifactVersion,
27-
'Specification-Vendor': 'io.github.loom',
28-
'Implementation-Title': artifactName,
29-
'Implementation-Version': artifactVersion,
30-
'Implementation-Vendor': 'io.github.loom'
31-
)
32-
}
33-
}
34-
35-
publishing {
36-
repositories {
37-
maven {
38-
name "OSSRH"
39-
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
40-
credentials {
41-
username System.getenv("MAVEN_USERNAME")
42-
password System.getenv("MAVEN_PASSWORD")
43-
}
44-
}
45-
}
46-
47-
publications {
48-
maven(MavenPublication) {
49-
artifactId artifactId
50-
from components.java
51-
pom {
52-
name = artifactName
53-
description = artifactDescription
54-
url = "https://github.com/loom/loom-java"
55-
licenses {
56-
license {
57-
name = "MIT License"
58-
url = "https://github.com/loom/loom-java/blob/main/LICENSE"
59-
}
60-
}
61-
developers {
62-
developer {
63-
id = "gyuwon"
64-
name = "Gyuwon Yi"
65-
email = "gyuwon@live.com"
66-
}
67-
}
68-
scm {
69-
connection = "https://github.com/loom/loom-java.git"
70-
developerConnection = "https://github.com/loom/loom-java.git"
71-
url = "https://github.com/loom/loom-java"
72-
}
73-
}
74-
}
75-
}
76-
}
77-
78-
signing {
79-
def signingKey = System.getenv("SIGNING_KEY")
80-
def signingPassword = System.getenv("SIGNING_PASSWORD")
81-
useInMemoryPgpKeys(signingKey, signingPassword)
82-
sign publishing.publications.maven
83-
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
artifactId=loom-eventsourcing-contract
22
artifactName=Loom Event Sourcing Contract
3-
artifactVersion=0.0.1
43
artifactDescription=Define types for event streams.
Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,8 @@
11
plugins {
22
id 'java-library'
3-
id 'maven-publish'
4-
id 'signing'
53
}
64

75
dependencies {
86
api 'io.github.loom:loom.eventsourcing.contract:[0.0.1, 0.1.0)'
97
api 'io.github.loom:loom.type:[0.0.1, 0.1.0)'
108
}
11-
12-
java {
13-
withJavadocJar()
14-
withSourcesJar()
15-
}
16-
17-
test {
18-
dependsOn('editorconfigCheck', 'checkstyleMain')
19-
}
20-
21-
group = 'io.github.loom'
22-
version = artifactVersion
23-
24-
jar {
25-
manifest {
26-
attributes(
27-
'Specification-Title': artifactName,
28-
'Specification-Version': artifactVersion,
29-
'Specification-Vendor': 'io.github.loom',
30-
'Implementation-Title': artifactName,
31-
'Implementation-Version': artifactVersion,
32-
'Implementation-Vendor': 'io.github.loom'
33-
)
34-
}
35-
}
36-
37-
publishing {
38-
repositories {
39-
maven {
40-
name "OSSRH"
41-
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
42-
credentials {
43-
username System.getenv("MAVEN_USERNAME")
44-
password System.getenv("MAVEN_PASSWORD")
45-
}
46-
}
47-
}
48-
49-
publications {
50-
maven(MavenPublication) {
51-
artifactId artifactId
52-
from components.java
53-
pom {
54-
name = artifactName
55-
description = artifactDescription
56-
url = "https://github.com/loom/loom-java"
57-
licenses {
58-
license {
59-
name = "MIT License"
60-
url = "https://github.com/loom/loom-java/blob/main/LICENSE"
61-
}
62-
}
63-
developers {
64-
developer {
65-
id = "gyuwon"
66-
name = "Gyuwon Yi"
67-
email = "gyuwon@live.com"
68-
}
69-
}
70-
scm {
71-
connection = "https://github.com/loom/loom-java.git"
72-
developerConnection = "https://github.com/loom/loom-java.git"
73-
url = "https://github.com/loom/loom-java"
74-
}
75-
}
76-
}
77-
}
78-
}
79-
80-
signing {
81-
def signingKey = System.getenv("SIGNING_KEY")
82-
def signingPassword = System.getenv("SIGNING_PASSWORD")
83-
useInMemoryPgpKeys(signingKey, signingPassword)
84-
sign publishing.publications.maven
85-
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
artifactId=loom-eventsourcing-type
22
artifactName=Loom Event Sourcing Type
3-
artifactVersion=0.0.3
43
artifactDescription=Support serialization of types for event streams.

0 commit comments

Comments
 (0)