diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-11-18 17:20:34 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-11-18 17:20:34 +0100 |
commit | 675ceedfd362f0ee976865cadc313fe80cb3d366 (patch) | |
tree | 26f16fbed73161cadf796e2d6d3be12541d25108 /sd-plugin/build.gradle | |
parent | 171a0b36e060cdb59c5974a4bc2c723e3b09e0f8 (diff) |
Cleanup
Diffstat (limited to 'sd-plugin/build.gradle')
-rw-r--r-- | sd-plugin/build.gradle | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/sd-plugin/build.gradle b/sd-plugin/build.gradle index e5b39769b96..5a4200d0062 100644 --- a/sd-plugin/build.gradle +++ b/sd-plugin/build.gradle @@ -1,5 +1,4 @@ -// This "noinspection" comment below is here to fix a warning -//noinspection GroovyAssignabilityCheck +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. plugins { id 'org.jetbrains.intellij' version '1.1.4' id 'java' @@ -17,17 +16,17 @@ import org.jetbrains.grammarkit.tasks.GenerateLexer import org.jetbrains.grammarkit.tasks.GenerateParser task generateSdLexer(type: GenerateLexer) { - source 'src/main/java/org/intellij/sdk/language/lexer/sd.flex' - targetDir 'src/main/gen/org/intellij/sdk/language/lexer/' + source 'src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex' + targetDir 'target/generated-sources/jflex/ai/vespa/intellij/schema/lexer/' targetClass 'SdLexer' purgeOldFiles true } task generateSdParser(type: GenerateParser) { - source 'src/main/java/org/intellij/sdk/language/parser/sd.bnf' - targetRoot 'src/main/gen' - pathToParser 'org/intellij/sdk/language/parser/SdParser.java' - pathToPsiRoot 'org/intellij/sdk/language/psi/' + source 'src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf' + targetRoot 'target/generated-sources/bnf/' + pathToParser 'ai/vespa/intellij/schema/parser/SdParser.java' + pathToPsiRoot 'ai/vespa/intellij/schema/parser/psi/' purgeOldFiles true } @@ -36,20 +35,18 @@ compileJava { dependsOn generateSdParser } - -group 'org.yahoo.native' -version '1.0.2' +group 'ai.vespa' +version '1.0.3' sourceCompatibility = 11 // This "noinspection" comment below is here to fix a warning -//noinspection GroovyAssignabilityCheck +// noinspection GroovyAssignabilityCheck repositories { mavenCentral() } - -sourceSets.main.java.srcDirs 'src/main/gen' +sourceSets.main.java.srcDirs = ['src/main/java', 'target/generated-sources/bnf', 'target/generated-sources/jflex'] // See https://github.com/JetBrains/gradle-intellij-plugin/ intellij { |