Skip to content

Commit

Permalink
try to set outputDir but does not work yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Jun 6, 2021
1 parent 5bcabab commit 9e0ab5b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.gradle.internal.os.OperatingSystem
import org.jabref.build.JournalAbbreviationConverter
import org.jabref.build.xjc.XjcPlugin
import org.jabref.build.xjc.XjcTask

import com.apollographql.apollo.gradle.internal.DefaultCompilationUnit
// to update the gradle wrapper, execute
// ./gradlew wrapper --gradle-version=6.0 --distribution-type=bin

Expand Down Expand Up @@ -217,8 +217,6 @@ dependencies {
// GraphQL integration
implementation ("com.apollographql.apollo:apollo-runtime:2.5.8"){
exclude module: "apollo-api"
exclude module: "apollo-api-jvm"

exclude module: "apollo-normalized-cache"
}

Expand Down Expand Up @@ -411,6 +409,11 @@ apollo {
useJavaBeansSemanticNaming.set(true)
rootPackageName.set("org.jabref.jabrefonline")

onCompilationUnit {
outputDir.set(file("src-gen/main/java/")) // TODO not working yet
// Overwrite some options here for single CompilationUnit if needed
}

}

tasks.withType(JavaCompile) {
Expand Down

0 comments on commit 9e0ab5b

Please sign in to comment.