@@ -12,10 +12,10 @@ buildscript {
12
12
classpath ' com.bmuschko:gradle-nexus-plugin:2.3.1'
13
13
classpath ' io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1'
14
14
classpath " io.micronaut.docs:micronaut-docs-asciidoc-extensions:$micronautDocsVersion " , {
15
- exclude group :" com.github.jengelman.gradle.plugins"
15
+ exclude group : " com.github.jengelman.gradle.plugins"
16
16
}
17
17
classpath " io.micronaut.docs:micronaut-docs-gradle-plugins:$micronautDocsVersion " , {
18
- exclude group :" com.github.jengelman.gradle.plugins"
18
+ exclude group : " com.github.jengelman.gradle.plugins"
19
19
}
20
20
classpath ' com.adarshr:gradle-test-logger-plugin:2.0.0'
21
21
}
@@ -26,11 +26,9 @@ repositories {
26
26
}
27
27
28
28
group " ai.stainless"
29
- version projectVersion
30
29
31
30
subprojects { Project subproject ->
32
31
group " ai.stainless"
33
- version project. projectVersion
34
32
35
33
repositories {
36
34
mavenLocal()
@@ -54,7 +52,7 @@ subprojects { Project subproject ->
54
52
jar {
55
53
manifest {
56
54
attributes(' Automatic-Module-Name' : " ${ subproject.group} .${ subproject.name} " . replaceAll(' [^\\ w\\ .\\ $_]' , " _" ))
57
- attributes(' Implementation-Version' :project . projectVersion )
55
+ attributes(' Implementation-Version' : version )
58
56
attributes(' Implementation-Title' : ' Micronaut Jupyter' )
59
57
}
60
58
}
@@ -84,17 +82,17 @@ subprojects { Project subproject ->
84
82
}
85
83
86
84
javadoc {
87
- if (JavaVersion . current(). isJava9Compatible()) {
85
+ if (JavaVersion . current(). isJava9Compatible()) {
88
86
options. addBooleanOption(' html5' , true )
89
87
}
90
88
}
91
89
92
90
publishing {
93
91
repositories {
94
92
def ossUser = System . getenv(" SONATYPE_USERNAME" ) ?:
95
- project. hasProperty(" sonatypeOssUsername" ) ? project. sonatypeOssUsername : ' '
93
+ project. hasProperty(" sonatypeOssUsername" ) ? project. sonatypeOssUsername : ' '
96
94
def ossPass = System . getenv(" SONATYPE_PASSWORD" ) ?:
97
- project. hasProperty(" sonatypeOssPassword" ) ? project. sonatypeOssPassword : ' '
95
+ project. hasProperty(" sonatypeOssPassword" ) ? project. sonatypeOssPassword : ' '
98
96
99
97
maven {
100
98
name = " mavenCentral"
@@ -128,7 +126,7 @@ subprojects { Project subproject ->
128
126
File signingKeyFile = new File (" $rootProject . projectDir /SIGNING_GPG_KEY" )
129
127
String signingKey = signingKeyFile. exists() ? signingKeyFile. text : " "
130
128
def signingPassword = System . getenv(" SIGNING_GPG_PASSWORD" ) ?:
131
- findProperty(" signingPassword" ) ?: ' '
129
+ findProperty(" signingPassword" ) ?: ' '
132
130
useInMemoryPgpKeys(signingKey, signingPassword)
133
131
}
134
132
0 commit comments