From c3b729f8a9220c963afd726bd579e9814a819da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Grze=C5=9Blowski?= Date: Sun, 28 Apr 2024 15:55:56 +0200 Subject: [PATCH] test 5 --- protocol/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocol/build.gradle b/protocol/build.gradle index 3b10ddd9..9013005a 100644 --- a/protocol/build.gradle +++ b/protocol/build.gradle @@ -9,7 +9,7 @@ dependencies { sourceSets { main { - java.srcDirs += "${project.buildDir}/generated/sources/annotationProcessor/java/main" + java.srcDirs += "${project.buildDir}/generated/sources/jsupla/java/main" } } @@ -107,7 +107,7 @@ task buildCallTypes { generateCallTypeClass(file, "csd", csd), ] - def generatedDir = project.file("build/generated/sources/annotationProcessor/java/main/pl/grzeslowski/jsupla/protocol/api/calltypes").toPath() + def generatedDir = project.file("build/generated/sources/jsupla/java/main/pl/grzeslowski/jsupla/protocol/api/calltypes").toPath() Files.createDirectories(generatedDir) classes.forEach { @@ -161,7 +161,7 @@ task generateProtoConst { | $consts |}""".stripMargin() - def generatedDir = project.file("build/generated/sources/annotationProcessor/java/main/pl/grzeslowski/jsupla/protocol/api/consts").toPath() + def generatedDir = project.file("build/generated/sources/jsupla/java/main/pl/grzeslowski/jsupla/protocol/api/consts").toPath() Files.createDirectories(generatedDir) generatedDir.resolve("ProtoConsts.java").write(java) }