-
Notifications
You must be signed in to change notification settings - Fork 70
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
Update to gradle 8.11 #761
Conversation
Includes much nicer warning APIs. Includes a lot of deperecations, so we need to test things
@@ -52,6 +52,10 @@ allprojects { | |||
tasks.withType(Javadoc) { | |||
options.addBooleanOption('Xdoclint:all,-missing', true) | |||
} | |||
|
|||
tasks.withType(JavaCompile) { | |||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" |
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.
temporary?
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.
No. We want to add these. I'm surprised they were not here before.
Needs wpilibsuite/GradleRIO#761 to avoid deprecation warnings
Needs wpilibsuite/GradleRIO#761 to avoid deprecation warnings Matches wpilibsuite/vscode-wpilib#724
src/main/java/edu/wpi/first/gradlerio/deploy/roborio/FRCJNILibraryArtifact.java
Show resolved
Hide resolved
src/main/java/edu/wpi/first/gradlerio/wpi/dependencies/WPIDependenciesPlugin.java
Show resolved
Hide resolved
@@ -18,7 +17,7 @@ public class WPICppTool implements Named { | |||
private final Provider<String> version; | |||
|
|||
public WPICppTool(Project project, String name, Provider<String> version, String artifactId, Provider<Directory> toolsFolder) { | |||
Configuration config = project.getConfigurations().getByName("wpiCppTools"); | |||
//Configuration config = project.getConfigurations().getByName("wpiCppTools"); |
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.
Commented-out code should be removed?
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.
I want to keep this for when we finally getting around to adding installation for C++ tools.
@PeterJohnson I need to merge native uitils and publish that for use here before merging. |
Includes much nicer warning APIs. Includes a lot of deperecations, so we need to test things