Skip to content

Commit

Permalink
KE-11534 Debug auto package for Calcite 1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
gleonSun committed Mar 11, 2024
1 parent 8ad393e commit 6eb6b2d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ plugins {
// define repo url
val snapshotsRepoUrl = uri("https://repo-ofs.kyligence.com/repository/maven-snapshots/")
val releasesRepoUrl = uri("https://repo-ofs.kyligence.com/repository/maven-releases/")
val asfTestNexusUsername: String by properties
val asfTestNexusPassword: String by properties

allprojects {
repositories {
Expand Down Expand Up @@ -439,6 +441,17 @@ allprojects {
fileMode = "664".toInt(8)
}

// Deploy to Nexus without Signing
plugins.withType<SigningPlugin> {
afterEvaluate {
configure<SigningExtension> {
// Note it would still try to sign the artifacts,
// however it would fail only when signing a RELEASE version fails
isRequired = false
}
}
}

tasks {
configureEach<Javadoc> {
excludeJavaCcGenerated()
Expand Down Expand Up @@ -908,8 +921,8 @@ allprojects {
maven {
url = finalUrl
credentials {
username = "guoliang.sun"
password = "Sgl19960301"
username = asfTestNexusUsername
password = asfTestNexusPassword
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ systemProp.org.gradle.internal.publish.checksums.insecure=true
# This is version for Calcite itself
# Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts
# Release version can be generated by using -Prelease or -Prc=<int> arguments
calcite.version=1.30.0-kylin-4.x
calcite.version=1.30.0-kylin-4.x-r01
# This is a version to be used from Maven repository. It can be overridden by localAvatica below
calcite.avatica.version=1.20.0

Expand Down

0 comments on commit 6eb6b2d

Please sign in to comment.