File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
client-sqldelight-gradle-plugin/src/test/projects/happyPath/lib Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ sqldelight {
13
13
dialect(libs.sqldelightMysqlDialect)
14
14
srcDirs.setFrom(listOf (" resources/migrations" ))
15
15
deriveSchemaFromMigrations.set(true )
16
- migrationOutputDirectory.set(file( " $buildDir / resources/main/migrations" ))
16
+ migrationOutputDirectory.set(layout.buildDirectory.dir( " resources/main/migrations" ))
17
17
verifyMigrations.set(true )
18
18
}
19
19
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ sqldelight {
12
12
dialect(libs.sqldelightMysqlDialect)
13
13
srcDirs.setFrom(listOf (" src/main/sqldelight" , " src/main/resources/migrations" ))
14
14
deriveSchemaFromMigrations.set(true )
15
- migrationOutputDirectory.set(file( " ${buildDir} / resources/main/migrations" ))
15
+ migrationOutputDirectory.set(layout.buildDirectory.dir( " resources/main/migrations" ))
16
16
verifyMigrations.set(true )
17
17
}
18
18
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
11
11
12
12
sourceSets {
13
13
val main by getting {
14
- java.srcDir(" $buildDir / generated/source/wire/ " )
14
+ java.srcDir(layout.buildDirectory.dir( " generated/source/wire" ) )
15
15
}
16
16
}
17
17
You can’t perform that action at this time.
0 commit comments