Skip to content
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 com.github.johnrengelman:shadow to 8.1.1 #3255

Closed

Conversation

Phone-Guru
Copy link

No description provided.

@iBotPeaches iBotPeaches force-pushed the Update-shadow-to-8.1.1 branch from bac7ff2 to 2243ec3 Compare August 8, 2023 10:16
@iBotPeaches iBotPeaches changed the title Update build.gradle.kts Upgrade com.github.johnrengelman:shadow to 8.1.1 Aug 8, 2023
Copy link
Owner

@iBotPeaches iBotPeaches left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we lost the 4 space indent, these new changes are 2 indent.

build.gradle.kts Outdated
Comment on lines 76 to 78
maven {
url = uri("https://plugins.gradle.org/m2/")
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this the same as gradlePluginPortal?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

apply(plugin = "com.github.johnrengelman.shadow")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to apply this? If it was attached to build script classpath its already there for building.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like that says two different methods though and you have both, so just a bit lost.

@iBotPeaches
Copy link
Owner

@Phone-Guru - Thanks for spotting this out of date version, but I went ahead and did what I was trying to explain. Its tough to follow online docs because they don't really fully show all the ways a plugin works. They don't show buildscript vs runtime dependencies and suffer in groovy vs kotlin.

So we wouldn't really go anywhere just taking the examples online. Unfortunately Gradle has a mix of a lot of old/new docs around.

So take a look at this diff if you are curious what I did - #3259

@iBotPeaches iBotPeaches closed this Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants