Skip to content

Commit ffac267

Browse files
authored
ci: Perform 0.1.3 release (#78)
Update project version to 0.1.3 and set next version to 0.2.0 Signed-off-by: Eric Deandrea <[email protected]>
1 parent ba8ff6c commit ffac267

File tree

3 files changed

+93
-87
lines changed

3 files changed

+93
-87
lines changed

build.gradle.kts

Lines changed: 92 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,93 @@
1-
// This is just here to make it easy to run a full release for all child projects
2-
tasks.register("jreleaserFullRelease") {
3-
dependsOn(subprojects.mapNotNull { it.tasks.findByName("jreleaserFullRelease") })
1+
plugins {
2+
`base`
3+
id("docling-shared")
4+
alias(libs.plugins.jreleaser)
5+
}
6+
7+
jreleaser {
8+
gitRootSearch = true
9+
strict = true
10+
11+
project {
12+
license = "MIT"
13+
inceptionYear = "2025"
14+
tags = listOf("docling", "java", "AI")
15+
vendor = "IBM"
16+
authors = listOf("Eric Deandrea", "Thomas Vitale", "Alex Soto")
17+
maintainers = listOf("Eric Deandrea", "Thomas Vitale", "Alex Soto")
18+
copyright = "2025-Present IBM"
19+
description = "A Java API for Docling"
20+
21+
languages {
22+
java {
23+
version = property("java.version").toString()
24+
}
25+
}
26+
27+
links {
28+
homepage = "https://docling-project.github.io/docling-java"
29+
documentation = "https://docling-project.github.io/docling-java"
30+
license = "https://opensource.org/license/mit"
31+
bugTracker = "https://github.com/docling-project/docling-java/issues"
32+
help = "https://github.com/docling-project/docling-java/discussions"
33+
contribute = "https://github.com/docling-project/docling-java/blob/main/CONTRIBUTING.md"
34+
}
35+
}
36+
37+
signing {
38+
active = org.jreleaser.model.Active.ALWAYS
39+
armored = true
40+
}
41+
42+
release {
43+
github {
44+
enabled = true
45+
overwrite = true
46+
repoOwner = "docling-project"
47+
name = rootProject.name
48+
sign = true
49+
50+
changelog {
51+
links = true
52+
preset = "conventional-commits"
53+
}
54+
55+
issues {
56+
enabled = true
57+
comment = "🎉 This issue has been resolved in `{{tagName}}` ([Release Notes]({{releaseNotesUrl}}))"
58+
}
59+
60+
commitAuthor {
61+
name = "docling-java-ops"
62+
63+
}
64+
}
65+
}
66+
67+
deploy {
68+
maven {
69+
mavenCentral {
70+
create("sonatype") {
71+
retryDelay = 100
72+
maxRetries = 100
73+
connectTimeout = 18000
74+
active = org.jreleaser.model.Active.ALWAYS
75+
url = "https://central.sonatype.com/api/v1/publisher"
76+
applyMavenCentralRules = true
77+
stagingRepository(rootProject.layout.buildDirectory.dir("staging-deploy").get().asFile.absolutePath)
78+
}
79+
}
80+
}
81+
}
82+
83+
announce {
84+
active = org.jreleaser.model.Active.ALWAYS
85+
86+
discussions {
87+
organization = "docling-project"
88+
team = "docling-java"
89+
title = "{{projectNameCapitalized}} {{projectVersion}} released!"
90+
message = "🚀 {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
91+
}
92+
}
493
}

buildSrc/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ repositories {
88
}
99

1010
dependencies {
11-
implementation(libs.jreleaser.gradle.plugin)
1211
implementation("org.yaml:snakeyaml:2.5")
1312
}
1413

buildSrc/src/main/kotlin/docling-release.gradle.kts

Lines changed: 1 addition & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,11 @@
11
plugins {
22
`maven-publish`
3-
id("org.jreleaser")
4-
}
5-
6-
jreleaser {
7-
gitRootSearch = true
8-
strict = true
9-
10-
project {
11-
license = "MIT"
12-
inceptionYear = "2025"
13-
tags = listOf("docling", "java", "AI")
14-
vendor = "IBM"
15-
authors = listOf("Eric Deandrea", "Thomas Vitale", "Alex Soto")
16-
maintainers = listOf("Eric Deandrea", "Thomas Vitale", "Alex Soto")
17-
copyright = "2025-Present IBM"
18-
description = "A Java API for Docling"
19-
20-
languages {
21-
java {
22-
version = property("java.version").toString()
23-
}
24-
}
25-
26-
links {
27-
homepage = "https://docling-project.github.io/docling-java"
28-
documentation = "https://docling-project.github.io/docling-java"
29-
license = "https://opensource.org/license/mit"
30-
bugTracker = "https://github.com/docling-project/docling-java/issues"
31-
help = "https://github.com/docling-project/docling-java/discussions"
32-
contribute = "https://github.com/docling-project/docling-java/blob/main/CONTRIBUTING.md"
33-
}
34-
}
35-
36-
signing {
37-
active = org.jreleaser.model.Active.ALWAYS
38-
armored = true
39-
}
40-
41-
release {
42-
github {
43-
repoOwner = "docling-project"
44-
name = rootProject.name
45-
sign = true
46-
47-
changelog {
48-
links = true
49-
preset = "conventional-commits"
50-
}
51-
52-
issues {
53-
enabled = true
54-
comment = "🎉 This issue has been resolved in `{{tagName}}` ([Release Notes]({{releaseNotesUrl}}))"
55-
}
56-
}
57-
}
58-
59-
deploy {
60-
maven {
61-
mavenCentral {
62-
create("sonatype") {
63-
retryDelay = 100
64-
maxRetries = 100
65-
connectTimeout = 18000
66-
active = org.jreleaser.model.Active.ALWAYS
67-
url = "https://central.sonatype.com/api/v1/publisher"
68-
applyMavenCentralRules = true
69-
stagingRepository(layout.buildDirectory.dir("staging-deploy").get().asFile.absolutePath)
70-
}
71-
}
72-
}
73-
}
74-
75-
announce {
76-
active = org.jreleaser.model.Active.ALWAYS
77-
78-
discussions {
79-
organization = "docling-project"
80-
team = "docling-java"
81-
title = "{{projectNameCapitalized}} {{projectVersion}} released!"
82-
message = "🚀 {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
83-
}
84-
}
853
}
864

875
publishing {
886
repositories {
897
maven {
90-
url = uri(layout.buildDirectory.dir("staging-deploy"))
8+
url = uri(rootProject.layout.buildDirectory.dir("staging-deploy"))
919
}
9210
}
9311

0 commit comments

Comments
 (0)