Skip to content

Commit

Permalink
Rename /gen to /generate (#6800)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez authored Aug 27, 2020
1 parent ca6e5d9 commit a8d4f14
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ext.allowJava9 = true
sourceSets {
main {
java {
srcDirs = ["src/main/java", "src/main/gen"]
srcDirs = ["src/main/java", "src/main/generated"]
}

resources {
Expand Down Expand Up @@ -262,7 +262,7 @@ task checkOutdatedDependencies(dependsOn: dependencyUpdates) {
}

clean {
delete "src/main/gen"
delete "src/main/generated"
}

processResources {
Expand Down Expand Up @@ -306,7 +306,7 @@ task generateBstGrammarSource(type: org.jabref.build.antlr.AntlrTask) {

antlr = ANTLR3
inputFile = 'src/main/antlr3/org/jabref/bst/Bst.g'
outputDir = 'src/main/gen/org/jabref/logic/bst/'
outputDir = 'src/main/generated/org/jabref/logic/bst/'
}

task generateSearchGrammarSource(type: org.jabref.build.antlr.AntlrTask) {
Expand All @@ -315,7 +315,7 @@ task generateSearchGrammarSource(type: org.jabref.build.antlr.AntlrTask) {

antlr = ANTLR4
inputFile = "src/main/antlr4/org/jabref/search/Search.g4"
outputDir = "src/main/gen/org/jabref/search"
outputDir = "src/main/generated/org/jabref/search"
javaPackage = "org.jabref.search"
}

Expand All @@ -324,7 +324,7 @@ task generateMedlineSource(type: XjcTask) {
description = "Generates java files for the medline importer."

schemaFile = "src/main/resources/xjc/medline/medline.xsd"
outputDirectory = "src/main/gen/"
outputDirectory = "src/main/generated/"
javaPackage = "org.jabref.logic.importer.fileformat.medline"
}

Expand All @@ -333,7 +333,7 @@ task generateBibtexmlSource(type: XjcTask) {
description = "Generates java files for the bibtexml importer."

schemaFile = "src/main/resources/xjc/bibtexml/bibtexml.xsd"
outputDirectory = "src/main/gen"
outputDirectory = "src/main/generated"
javaPackage = "org.jabref.logic.importer.fileformat.bibtexml"
}

Expand All @@ -342,7 +342,7 @@ task generateEndnoteSource(type: XjcTask) {
description = "Generates java files for the endnote importer."

schemaFile = "src/main/resources/xjc/endnote/endnote.xsd"
outputDirectory = "src/main/gen/"
outputDirectory = "src/main/generated/"
javaPackage = "org.jabref.logic.importer.fileformat.endnote"
}

Expand All @@ -352,7 +352,7 @@ task generateModsSource(type: XjcTask) {

schemaFile = "src/main/resources/xjc/mods/mods-3-7.xsd"
bindingFile = "src/main/resources/xjc/mods/mods-binding.xjb"
outputDirectory = "src/main/gen/"
outputDirectory = "src/main/generated/"
javaPackage = "org.jabref.logic.importer.fileformat.mods"
arguments = '-npa'
}
Expand All @@ -373,7 +373,7 @@ compileJava {
options.compilerArgs << "-Xlint:none"
dependsOn "generateSource"

options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/main/gen")
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/main/generated")

moduleOptions {
// TODO: Remove access to internal api
Expand Down

0 comments on commit a8d4f14

Please sign in to comment.