Skip to content

Commit

Permalink
Make all API leak-issues errors and fail build on API warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Mar 13, 2024
1 parent 2627870 commit 5409d7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions binaries/.settings/org.eclipse.pde.api.tools.prefs
Expand Up @@ -66,11 +66,11 @@ INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
INVALID_ANNOTATION=Error
INVALID_JAVADOC_TAG=Error
INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Error
LEAK_EXTEND=Warning
LEAK_FIELD_DECL=Warning
LEAK_IMPLEMENT=Warning
LEAK_METHOD_PARAM=Warning
LEAK_METHOD_RETURN_TYPE=Warning
LEAK_EXTEND=Error
LEAK_FIELD_DECL=Error
LEAK_IMPLEMENT=Error
LEAK_METHOD_PARAM=Error
LEAK_METHOD_RETURN_TYPE=Error
METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
Expand Down
1 change: 1 addition & 0 deletions binaries/pom.xml
Expand Up @@ -49,6 +49,7 @@
<version>${tycho.version}</version>
<configuration>
<addSourceFolders>true</addSourceFolders>
<failOnWarning>true</failOnWarning>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 5409d7e

Please sign in to comment.