-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Gradle 7 #7609
Upgrade to Gradle 7 #7609
Conversation
@@ -411,8 +409,8 @@ def createSymlinks(archivePath, symlinkLocation) { | |||
def createGatkSymlinks(destinationDir, archivePath, suffix, baseJarName, secondaryBaseJarName) { | |||
def finalSuffix = (suffix == "") ? "" : ("-" + suffix) | |||
|
|||
def symlinkLocation = destinationDir.toString() + "/" + baseJarName + finalSuffix + ".jar" | |||
def symlinkLocation2 = destinationDir.toString() + "/" + secondaryBaseJarName + finalSuffix + ".jar" | |||
def symlinkLocation = destinationDir.getAsFile().get().toString() + "/" + baseJarName + finalSuffix + ".jar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one is strange but I don't know the intended magic way to do it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah -- the destinationDir is a DirectoryProperty which you can turn into a Provider with getAsFile()
but to resolve that Provider -> File you call .get()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kcibul 👍
We need to update the readme and wiki with. the new commands but lets do that separately.
* Initial upgrade to gradle 6.9.1 * update shadow plugin * change jacoco syntax * remove most deprecation warnings * changed compile -> implementation * more warnings * fixed shadow jar deps * removed jCenter * publishing * attempt to upgrade to gradle7 * Remove local shadow jar from published components * updated readme, select correct repo for publish * add names back to pom Co-authored-by: Louis Bergelson <louisb@broadinstitute.org>
Upgrading to Gradle 7
Caveats