Logo
Explore Help
Register Sign In
Team2890/allwpilib
4
0
Fork 0
You've already forked allwpilib
mirror of https://github.com/wpilibsuite/allwpilib synced 2026-06-19 00:41:43 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
0662a788924c117e569e662b000ab61e6ecc5ffd
allwpilib/wpiannotations/build.gradle

12 lines
194 B
Groovy
Raw Normal View History

Add javac plugin for detecting common error cases at compile time (#8196) Adds a `@NoDiscard` annotation that can be placed on methods to guarantee their return values are used and on types to guarantee that any method returning that type uses the return value. Methods that call `@NoDiscard`-annotated functions can add a `@SuppressWarnings("NoDiscard")` or `@SuppressWarnings("all")` annotation (or annotation on the class declaring that method) to silence the compiler error warnings.
2025-10-03 20:42:47 -04:00
ext {
useJava = true
useCpp = false
baseId = 'annotations'
groupId = 'org.wpilib'
nativeName = ''
devMain = ''
}
apply from: "${rootDir}/shared/java/javacommon.gradle"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 92ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API