@@ -44,8 +44,8 @@ subprojects {
44
44
// It's only built once, so we don't need to put the MQ-specific module in one of the version properties.
45
45
// The MQ version ought to match the base version, but it's not an absolute requirement so we split the
46
46
// properties.
47
- ext. tcVer = ' 1.21.2 '
48
- ext. mqTCVer = ' 1.21.2 '
47
+ ext. tcVer = ' 1.21.3 '
48
+ ext. mqTCVer = ' 1.21.3 '
49
49
50
50
// The groupid for the compiled jars when uploaded
51
51
group = mqGroup
@@ -64,9 +64,10 @@ subprojects {
64
64
65
65
// Include variable debug info in the compiled classes
66
66
compileJava. options. debugOptions. debugLevel = " source,lines,vars"
67
+
67
68
// Fail on javac warnings
68
69
if (bootVer != " boot2" ) {
69
- compileJava. options. compilerArgs << " -Werror"
70
+ compileJava. options. compilerArgs << " -Werror" // << "-verbose"
70
71
}
71
72
task mqPrereq(type :Exec ) {
72
73
commandLine (" ../prereqCheck.sh" , mqGroup, mqJar, mqVersion)
@@ -83,6 +84,13 @@ subprojects {
83
84
targetCompatibility= javaSourceCompatibility
84
85
}
85
86
87
+ /*
88
+ tasks.named('jar') {
89
+ manifest {
90
+ attributes('Automatic-Module-Name': project.name)
91
+ }
92
+ }
93
+ */
86
94
task sourcesJar(type : Jar , dependsOn : [' mqPrereq' ,classes]) {
87
95
archiveClassifier = ' sources'
88
96
sourceSets. all {
@@ -193,11 +201,12 @@ subprojects {
193
201
repositories {
194
202
maven {
195
203
def snapshotUrl = " https://oss.sonatype.org/content/repositories/snapshots"
196
- def releasesUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2"
204
+ // def releasesUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
205
+ def releasesUrl = " https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2"
197
206
url = version. endsWith(' SNAPSHOT' ) ? snapshotUrl : releasesUrl
198
207
credentials {
199
- username ossrhUsername
200
- password ossrhPassword
208
+ username = ossrhUsername
209
+ password = ossrhPassword
201
210
}
202
211
}
203
212
}
0 commit comments