Skip to content

Commit

Permalink
test 5
Browse files Browse the repository at this point in the history
  • Loading branch information
magx2 committed Apr 28, 2024
1 parent d5272d8 commit c3b729f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions protocol/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit c3b729f

Please sign in to comment.