Skip to content

Commit

Permalink
Fix deprecated warning for buildDir
Browse files Browse the repository at this point in the history
Change-Id: If43c000ccea6aef70ee536f62d9b6cefe4788ef8
  • Loading branch information
dturner committed Nov 9, 2023
1 parent e96cbcc commit 10dbe00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/datastore-proto/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ protobuf {

androidComponents.beforeVariants {
android.sourceSets.register(it.name) {
val buildDir = layout.buildDirectory.get().asFile
java.srcDir(buildDir.resolve("generated/source/proto/${it.name}/java"))
kotlin.srcDir(buildDir.resolve("generated/source/proto/${it.name}/kotlin"))
}
Expand Down

0 comments on commit 10dbe00

Please sign in to comment.