diff --git a/buildSrc/src/main/kotlin/org/jetbrains/exposed/gradle/Detekt.kt b/buildSrc/src/main/kotlin/org/jetbrains/exposed/gradle/Detekt.kt index 895bc6db86..b9b5390856 100644 --- a/buildSrc/src/main/kotlin/org/jetbrains/exposed/gradle/Detekt.kt +++ b/buildSrc/src/main/kotlin/org/jetbrains/exposed/gradle/Detekt.kt @@ -10,12 +10,12 @@ fun Project.configureDetekt() { apply() configure { - source.from( - files( - "$rootDir/documentation-website/Writerside/snippets", - "$rootDir/samples" - ) - ) +// source.from( +// files( +// "$rootDir/documentation-website/Writerside/snippets", +// "$rootDir/samples" +// ) +// ) ignoreFailures = false buildUponDefaultConfig = true diff --git a/documentation-website/Writerside/snippets/exposed-dao/src/main/kotlin/org/example/entities/BaseEntity.kt b/documentation-website/Writerside/snippets/exposed-dao/src/main/kotlin/org/example/entities/BaseEntity.kt index d1c33683b1..b61b2b4646 100644 --- a/documentation-website/Writerside/snippets/exposed-dao/src/main/kotlin/org/example/entities/BaseEntity.kt +++ b/documentation-website/Writerside/snippets/exposed-dao/src/main/kotlin/org/example/entities/BaseEntity.kt @@ -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, table: BaseTable) : IntEntity(id) { val created: LocalDateTime by table.created diff --git a/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/AliasesTests.kt b/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/AliasesTests.kt index 113f234274..8749dea670 100644 --- a/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/AliasesTests.kt +++ b/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/AliasesTests.kt @@ -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