Skip to content

Commit

Permalink
Fix minimum Gradle version check and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
uschindler committed Apr 7, 2020
1 parent 19847af commit 0ba6767
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
import de.thetaphi.forbiddenapis.ParseException;

/**
* <h3>ForbiddenApis Gradle Task (requires at least Gradle v2.3)</h3>
* <h3>ForbiddenApis Gradle Task (requires at least Gradle v3.2)</h3>
* <p>
* The plugin registers a separate task for each defined {@code sourceSet} using
* the default task naming convention. For default Java projects, two tasks are created:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.gradle.util.GradleVersion;

/**
* Forbiddenapis Gradle Plugin (requires at least Gradle 2.3)
* Forbiddenapis Gradle Plugin (requires at least Gradle v3.2)
* @since 2.0
*/
public class ForbiddenApisPlugin implements Plugin<Project> {
Expand All @@ -47,8 +47,8 @@ public class ForbiddenApisPlugin implements Plugin<Project> {
/** Name of the extension to define defaults for all tasks of this module. */
public static final String FORBIDDEN_APIS_EXTENSION_NAME = "forbiddenApis";

/** Minimum Gradle version this plugin requires to run (v2.3). */
public static final GradleVersion MIN_GRADLE_VERSION = GradleVersion.version("2.3");
/** Minimum Gradle version this plugin requires to run (v3.2). */
public static final GradleVersion MIN_GRADLE_VERSION = GradleVersion.version("3.2");

/** Java Package that contains the Gradle Daemon (needed to detect it on startup). */
private static final String GRADLE_DAEMON_PACKAGE = "org.gradle.launcher.daemon.";
Expand Down

0 comments on commit 0ba6767

Please sign in to comment.