diff options
-rw-r--r-- | example-project/build.gradle | 2 | ||||
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/java/ch/fhnw/thga/gradleplugins/FregePlugin.java | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/example-project/build.gradle b/example-project/build.gradle index 27f9105..ecc2f10 100644 --- a/example-project/build.gradle +++ b/example-project/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'ch.fhnw.thga.frege' version '1.7.1-alpha' + id 'ch.fhnw.thga.frege' version '1.8.0-alpha' } frege { diff --git a/gradle.properties b/gradle.properties index 829132c..990a6cf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ group = ch.fhnw.thga -version = 1.7.1-alpha
\ No newline at end of file +version = 1.8.0-alpha
\ No newline at end of file diff --git a/src/main/java/ch/fhnw/thga/gradleplugins/FregePlugin.java b/src/main/java/ch/fhnw/thga/gradleplugins/FregePlugin.java index a4fa7b8..cb2d179 100644 --- a/src/main/java/ch/fhnw/thga/gradleplugins/FregePlugin.java +++ b/src/main/java/ch/fhnw/thga/gradleplugins/FregePlugin.java @@ -1,6 +1,7 @@ package ch.fhnw.thga.gradleplugins; import org.gradle.api.Plugin; +import org.gradle.api.plugins.BasePlugin; import org.gradle.api.Project; import org.gradle.api.artifacts.Configuration; import org.gradle.api.logging.LogLevel; @@ -28,6 +29,8 @@ public class FregePlugin implements Plugin<Project> .create( FREGE_EXTENSION_NAME, FregeExtension.class); + + project.getPlugins().apply(BasePlugin.class); TaskProvider<SetupFregeTask> setupFregeCompilerTask = project.getTasks().register( |