From 5dce160cf170265188ad9f0f1fe43e62e0b07768 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 18 Jun 2021 17:53:31 -0700 Subject: [PATCH] Changed dprecated annotationProcessorGeneratedSourcesDirectory to generatedSourceOutputDirectory. --- .idea/libraries-with-intellij-classes.xml | 65 +++++ .idea/semver.iml | 2 - README.md | 2 +- config/checkstyle/checkstyle.xml | 277 ---------------------- examples/java/build.gradle | 4 +- 5 files changed, 68 insertions(+), 282 deletions(-) create mode 100644 .idea/libraries-with-intellij-classes.xml delete mode 100644 .idea/semver.iml delete mode 100644 config/checkstyle/checkstyle.xml diff --git a/.idea/libraries-with-intellij-classes.xml b/.idea/libraries-with-intellij-classes.xml new file mode 100644 index 0000000..9fa3156 --- /dev/null +++ b/.idea/libraries-with-intellij-classes.xml @@ -0,0 +1,65 @@ + + + + + + \ No newline at end of file diff --git a/.idea/semver.iml b/.idea/semver.iml deleted file mode 100644 index 78b2cc5..0000000 --- a/.idea/semver.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/README.md b/README.md index 925e813..1800a7b 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ In order to also incorporate the generated source code into the `source tree`, a ```gradle tasks.withType(JavaCompile) { - options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java") + options.generatedSourceOutputDirectory.set(file("${projectDir}/src/generated/java")) } ``` diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml deleted file mode 100644 index c5f6465..0000000 --- a/config/checkstyle/checkstyle.xml +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/java/build.gradle b/examples/java/build.gradle index 5521c85..faa5849 100644 --- a/examples/java/build.gradle +++ b/examples/java/build.gradle @@ -27,12 +27,12 @@ dependencies { } tasks.withType(JavaCompile) { - options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java") + options.generatedSourceOutputDirectory.set(file("${projectDir}/src/generated/java")) options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ] } task runExample(type: JavaExec) { group = 'application' classpath = sourceSets.main.runtimeClasspath - mainClass = 'com.example.Example' + mainClass.set('com.example.Example') }