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

Switch to Gradle 2.3 minimum requirement #73

Merged
merged 1 commit into from
Sep 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
<dependency org="org.apache.maven" name="maven-plugin-api" rev="2.0" conf="build"/>
<dependency org="org.apache.maven.plugin-tools" name="maven-plugin-annotations" rev="3.2" conf="build"/>
<!-- we compile against older Gradle 1.12 version (latest of 1.x), because 1.x still works with Java 1.5: -->
<dependency org="org.gradle" name="gradle-core" rev="1.12" conf="build"/>
<dependency org="org.gradle" name="gradle-base-services" rev="1.12" conf="build"/>
<dependency org="org.gradle" name="gradle-core" rev="2.3" conf="build"/>
<dependency org="org.gradle" name="gradle-base-services" rev="2.3" conf="build"/>
<dependency org="org.gradle" name="gradle-base-services-groovy" rev="2.3" conf="build"/>
<dependency org="org.slf4j" name="slf4j-api" rev="1.7.5" conf="build"/>
<!-- Gradle also needs Groovy, but we need it as build tool, too: -->
<dependency org="org.codehaus.groovy" name="groovy-all" rev="2.2.2" conf="build,buildtools"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import org.gradle.api.tasks.InputFiles;
import org.gradle.api.tasks.Optional;
import org.gradle.api.tasks.OutputDirectory;
import org.gradle.api.tasks.ParallelizableTask;
import org.gradle.api.tasks.SkipWhenEmpty;
import org.gradle.api.tasks.TaskAction;
import org.gradle.api.tasks.VerificationTask;
Expand All @@ -60,9 +61,10 @@
import de.thetaphi.forbiddenapis.ParseException;

/**
* ForbiddenApis Gradle Task
* @since 1.9
* ForbiddenApis Gradle Task (requires at least Gradle 2.3)
* @since 2.0
*/
@ParallelizableTask
public class CheckForbiddenApis extends DefaultTask implements PatternFilterable,VerificationTask {

private final CheckForbiddenApisExtension data = new CheckForbiddenApisExtension();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* Extension for the ForbiddenApis Gradle Task to store defaults.
* For description of the properties refer to the {@link CheckForbiddenApis}
* task documentation.
* @since 2.0
*/
public class CheckForbiddenApisExtension {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
import org.gradle.api.plugins.PluginInstantiationException;

/**
* Forbiddenapis Gradle Plugin
* @since 1.9
* Forbiddenapis Gradle Plugin (requires at least Gradle 2.3)
* @since 2.0
*/
public class ForbiddenApisPlugin implements Plugin<Project> {

Expand Down