@@ -7,77 +7,77 @@ plugins {
7
7
8
8
var isCiCd = System .getProperty(" cicd" ) == " true"
9
9
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