The following applies to Gradle 6.3 and this commit updates the current
Gradle version from 5.4 to 6.3. NOTE: This commit DOES NOT
UPDATE the following,
Prepare to automate our java build process (like we've done in Php)
The current build process yields deprecation warnings that will be
errors in Gradle 7.0. In anticipation of this, and in order to update
our build process to be reproduced machine-to-machine, this PR makes
the following changes:
upgrade with the gradle wrapper to get better IDE support
$ gradle wrapper --gradle-version 6.3 --distribution-type all
Deprecation Fixes:
This style is deprecated...
apply plugin: 'java'
apply plugin: 'maven'
In favor of:
plugins {
--snip--
id 'java'
// Note: the use of 'maven' alone is deprecated
// guidance is to use the following
id 'maven-publish'
}
The following applies to Gradle 6.3 and this commit updates the current Gradle version from 5.4 to 6.3. NOTE: This commit DOES NOT UPDATE the following,
The idea behind the upgrade is to:
The current build process yields deprecation warnings that will be errors in Gradle 7.0. In anticipation of this, and in order to update our build process to be reproduced machine-to-machine, this PR makes the following changes:
$ gradle wrapper --gradle-version 6.3 --distribution-type all
Deprecation Fixes: This style is deprecated...
In favor of:
This style has been deprecated:
In favor of this:
classifier = 'javadoc'
is a deprecated featurearchiveClassifier.set("javadoc")
classifier = 'sources'
is a deprecated featurearchiveClassifier.set("sources")
There is more work to be done, but this is a start.
The Following Pass:
$ gradle build
$ gradle test
$ gradlew build
$ gradlew test