Skip to content

Commit

Permalink
format ktlint
Browse files Browse the repository at this point in the history
(cherry picked from commit 0e92c4b)
  • Loading branch information
cdsap authored and KSP Auto Pick committed Nov 3, 2022
1 parent 3576878 commit 001fd33
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class GradleCompilationTest {
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.ColumnInfo
@Entity
data class User(
@PrimaryKey val uid: Int,
Expand All @@ -145,7 +145,7 @@ class GradleCompilationTest {
"""
import androidx.room.Dao
import androidx.room.Query
@Dao
interface UserDao {
@Query("SELECT * FROM User")
Expand All @@ -158,7 +158,7 @@ class GradleCompilationTest {
"""
import androidx.room.Database
import androidx.room.RoomDatabase
@Database(entities = [User::class], version = 1)
abstract class Database : RoomDatabase() {
abstract fun userDao(): UserDao
Expand Down Expand Up @@ -187,14 +187,14 @@ class GradleCompilationTest {
)
}
}
tasks.withType<com.google.devtools.ksp.gradle.KspTask>().configureEach {
tasks.withType<com.google.devtools.ksp.gradle.KspTask>().configureEach {
doFirst {
options.get().forEach { option ->
println("${'$'}{option.key}=${'$'}{option.value}")
}
}
}
""".trimIndent()
)
val result = testRule.runner().withArguments(":app:assembleDebug").build()
Expand Down Expand Up @@ -269,7 +269,7 @@ class GradleCompilationTest {
}
}
}
""".trimIndent()
""".trimIndent()
)
val result = testRule.runner().withDebug(true).withArguments(":app:assembleDebug").build()
val pattern1 = Regex.escape("apoption=room.schemaLocation=")
Expand Down

0 comments on commit 001fd33

Please sign in to comment.