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

Add targetVersion support to Ant task #101

Closed
uschindler opened this issue May 22, 2016 · 0 comments
Closed

Add targetVersion support to Ant task #101

uschindler opened this issue May 22, 2016 · 0 comments
Assignees
Milestone

Comments

@uschindler
Copy link
Member

The Ant task currently does not have support (like Maven or Gradle) to give the targetVersion as property to the task.

We should add this to allow a shorter notation:

<forbiddenapis failOnUnsupportedJava="false" targetVersion="${jdk.version}">
  <fileset dir="build/main"/>
  <signatures>
    <bundled name="jdk-unsafe"/>
    <bundled name="jdk-deprecated"/>
    <bundled name="jdk-non-portable"/>
    <bundled name="jdk-system-out"/>
    <bundled name="jdk-reflection"/>
  </signatures>
</forbiddenapis>
@uschindler uschindler added this to the 2.1 milestone May 22, 2016
@uschindler uschindler self-assigned this May 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant