Skip to content

Commit 02dc26d

Browse files
committed
JAVA-2844: Revert gradle upgrade
After the upgrade from Gradle 4.5.1 to 4.7, we're no longer able to release the driver, as the uploadArchives task uploads to the Sonatype snapshot repository rather than the staging repository even when the version does not end with "-SNAPSHOT". Reverting this change until we can determine the root cause.
1 parent db6966d commit 02dc26d

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def setJavaDocOptions(MinimalJavadocOptions options) {
315315
// Root project configuration //
316316
//////////////////////////////////////////
317317
task wrapper(type: Wrapper) {
318-
gradleVersion = '4.7'
318+
gradleVersion = '4.5.1'
319319
}
320320

321321
gradle.buildFinished { BuildResult result ->

gradle/wrapper/gradle-wrapper.jar

80 Bytes
Binary file not shown.
Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
#
2-
# Copyright 2008-present MongoDB, Inc.
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
#
161
distributionBase=GRADLE_USER_HOME
172
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-bin.zip
184
zipStoreBase=GRADLE_USER_HOME
195
zipStorePath=wrapper/dists
20-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip

0 commit comments

Comments
 (0)