Skip to content

Commit

Permalink
chore: EXPOSED-573 Project detekt config does not check .kt or .kts i…
Browse files Browse the repository at this point in the history
…n docs

- Add back issues to test one more time
  • Loading branch information
bog-walk committed Jan 22, 2025
1 parent 8e1a0c6 commit 70f29d9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions buildSrc/src/main/kotlin/org/jetbrains/exposed/gradle/Detekt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ fun Project.configureDetekt() {
apply<DetektPlugin>()

configure<DetektExtension> {
source.from(
files(
"$rootDir/documentation-website/Writerside/snippets",
"$rootDir/samples"
)
)
// source.from(
// files(
// "$rootDir/documentation-website/Writerside/snippets",
// "$rootDir/samples"
// )
// )

ignoreFailures = false
buildUponDefaultConfig = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import kotlinx.datetime.LocalDateTime
import org.example.tables.BaseTable
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.id.EntityID
// import org.jetbrains.exposed.dao.id.IntIdTable
import org.jetbrains.exposed.dao.id.IntIdTable

abstract class BaseEntity(id: EntityID<Int>, table: BaseTable) : IntEntity(id) {
val created: LocalDateTime by table.created
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import org.jetbrains.exposed.sql.tests.shared.dml.withCitiesAndUsers
import org.jetbrains.exposed.sql.tests.shared.entities.EntityTestsData
import org.junit.Test
import java.math.BigDecimal
import java.util.UUID
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
import kotlin.test.assertNull
Expand Down

0 comments on commit 70f29d9

Please sign in to comment.