Skip to content

Commit 4f731aa

Browse files
committed
Temporary disable of the CICD config in the gradle build
1 parent 0e27f59 commit 4f731aa

File tree

1 file changed

+74
-74
lines changed

1 file changed

+74
-74
lines changed

build.gradle.kts

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -7,77 +7,77 @@ plugins {
77

88
var isCiCd = System.getProperty("cicd") == "true"
99

10-
subprojects {
11-
apply(plugin = "java")
12-
apply(plugin = "io.micronaut.library")
13-
14-
apply(plugin = "signing")
15-
apply(plugin = "maven-publish")
16-
17-
if (isCiCd) {
18-
// when running in CI/CD environment we need to build with sources and JavaDoc and publish to maven central
19-
java {
20-
withSourcesJar()
21-
withJavadocJar()
22-
}
23-
24-
tasks.javadoc {
25-
options {
26-
// silence the Javadoc generation
27-
this as StandardJavadocDocletOptions
28-
addBooleanOption("Xdoclint:none", true)
29-
}
30-
}
31-
32-
publishing {
33-
publications {
34-
create<MavenPublication>("maven") {
35-
groupId = "com.jongsoft.finance"
36-
version = "3.3.0-SNAPSHOT"
37-
38-
from(components["java"])
39-
40-
pom {
41-
description = "The REST-API for Pledger.io"
42-
url = "https://www.pledger.io/"
43-
name = project.name
44-
scm {
45-
connection = "scm:git:git@bitbucket.org:jongsoftdev/fintrack-application.git"
46-
developerConnection = "scm:git:git@bitbucket.org:jongsoftdev/fintrack-application.git"
47-
url = "https://bitbucket.org/jongsoftdev/fintrack-application/src/master/"
48-
}
49-
licenses {
50-
license {
51-
name = "MIT License"
52-
url = "http://www.opensource.org/licenses/mit-license.php"
53-
}
54-
}
55-
developers {
56-
developer {
57-
id = "gjong"
58-
name = "Gerben Jongerius"
59-
email = "g.jongerius@jong-soft.com"
60-
}
61-
}
62-
}
63-
}
64-
}
65-
66-
repositories {
67-
maven {
68-
url = uri(layout.buildDirectory.dir("repo"))
69-
70-
if (System.getenv("CI") == "true")
71-
credentials {
72-
username = System.getenv("OSSRH_USERNAME")
73-
password = System.getenv("OSSRH_PASSWORD")
74-
}
75-
}
76-
}
77-
}
78-
79-
signing {
80-
sign(publishing.publications["maven"])
81-
}
82-
}
83-
}
10+
//subprojects {
11+
// apply(plugin = "java")
12+
// apply(plugin = "io.micronaut.library")
13+
//
14+
// apply(plugin = "signing")
15+
// apply(plugin = "maven-publish")
16+
//
17+
// if (isCiCd) {
18+
// // when running in CI/CD environment we need to build with sources and JavaDoc and publish to maven central
19+
// java {
20+
// withSourcesJar()
21+
// withJavadocJar()
22+
// }
23+
//
24+
// tasks.javadoc {
25+
// options {
26+
// // silence the Javadoc generation
27+
// this as StandardJavadocDocletOptions
28+
// addBooleanOption("Xdoclint:none", true)
29+
// }
30+
// }
31+
//
32+
// publishing {
33+
// publications {
34+
// create<MavenPublication>("maven") {
35+
// groupId = "com.jongsoft.finance"
36+
// version = "3.3.0-SNAPSHOT"
37+
//
38+
// from(components["java"])
39+
//
40+
// pom {
41+
// description = "The REST-API for Pledger.io"
42+
// url = "https://www.pledger.io/"
43+
// name = project.name
44+
// scm {
45+
// connection = "scm:git:git@bitbucket.org:jongsoftdev/fintrack-application.git"
46+
// developerConnection = "scm:git:git@bitbucket.org:jongsoftdev/fintrack-application.git"
47+
// url = "https://bitbucket.org/jongsoftdev/fintrack-application/src/master/"
48+
// }
49+
// licenses {
50+
// license {
51+
// name = "MIT License"
52+
// url = "http://www.opensource.org/licenses/mit-license.php"
53+
// }
54+
// }
55+
// developers {
56+
// developer {
57+
// id = "gjong"
58+
// name = "Gerben Jongerius"
59+
// email = "g.jongerius@jong-soft.com"
60+
// }
61+
// }
62+
// }
63+
// }
64+
// }
65+
//
66+
// repositories {
67+
// maven {
68+
// url = uri(layout.buildDirectory.dir("repo"))
69+
//
70+
// if (System.getenv("CI") == "true")
71+
// credentials {
72+
// username = System.getenv("OSSRH_USERNAME")
73+
// password = System.getenv("OSSRH_PASSWORD")
74+
// }
75+
// }
76+
// }
77+
// }
78+
//
79+
// signing {
80+
// sign(publishing.publications["maven"])
81+
// }
82+
// }
83+
//}

0 commit comments

Comments
 (0)