Skip to content

Commit

Permalink
Fix gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Jun 10, 2024
1 parent fbfb16c commit ca3486a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ val generateVersionClass =

tasks {
withType<JavaCompile>().configureEach { dependsOn(generateVersionClass) }
withType<Jar>().configureEach { dependsOn(generateVersionClass) }
withType<org.gradle.jvm.tasks.Jar>().configureEach { dependsOn(generateVersionClass) }
withType<AbstractDokkaTask>().configureEach { dependsOn(generateVersionClass) }
}
4 changes: 3 additions & 1 deletion sdk-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ protobuf { protoc { artifact = "com.google.protobuf:protoc:$protobufVersion" } }

tasks {
withType<JavaCompile> { dependsOn(generateJsonSchema2Pojo, generateProto) }
withType<Jar> { dependsOn(generateJsonSchema2Pojo, generateProto) }
withType<org.gradle.jvm.tasks.Jar>().configureEach {
dependsOn(generateJsonSchema2Pojo, generateProto)
}
withType<AbstractDokkaTask>().configureEach { dependsOn(generateJsonSchema2Pojo, generateProto) }
}

Expand Down

0 comments on commit ca3486a

Please sign in to comment.