chore: gradleの設定とテストを調整

This commit is contained in:
usbharu 2024-09-11 06:20:58 +09:00
parent bf2dbf159a
commit 2501990dac
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
4 changed files with 9 additions and 7 deletions

View File

@ -2,3 +2,4 @@ org.gradle.parallel=true
org.gradle.configureondemand=true org.gradle.configureondemand=true
org.gradle.caching=true org.gradle.caching=true
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
kotlin.compiler.preciseCompilationResultsBackup=true

View File

@ -13,8 +13,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
kotlin.code.style=official
org.gradle.parallel=true org.gradle.parallel=true
org.gradle.configureondemand=true org.gradle.configureondemand=true
org.gradle.caching=true org.gradle.caching=true
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
kotlin.compiler.preciseCompilationResultsBackup=true

View File

@ -64,7 +64,7 @@ abstract class AbstractRepositoryTest(private val exposedTable: org.jetbrains.ex
fun setup() { fun setup() {
val hikariConfig = HikariConfig() val hikariConfig = HikariConfig()
hikariConfig.jdbcUrl = hikariConfig.jdbcUrl =
"jdbc:h2:./test;MODE=POSTGRESQL;DB_CLOSE_DELAY=-1;CASE_INSENSITIVE_IDENTIFIERS=true;TRACE_LEVEL_FILE=4;" "jdbc:h2:mem:test;MODE=POSTGRESQL;DB_CLOSE_DELAY=-1;CASE_INSENSITIVE_IDENTIFIERS=true;TRACE_LEVEL_FILE=4;"
hikariConfig.driverClassName = "org.h2.Driver" hikariConfig.driverClassName = "org.h2.Driver"
hikariConfig.transactionIsolation = "TRANSACTION_READ_UNCOMMITTED" hikariConfig.transactionIsolation = "TRANSACTION_READ_UNCOMMITTED"
dataSource = HikariDataSource(hikariConfig) dataSource = HikariDataSource(hikariConfig)

View File

@ -1,4 +1,5 @@
kotlin.code.style=official
org.gradle.daemon=true
org.gradle.parallel=true org.gradle.parallel=true
org.gradle.configureondemand=true org.gradle.configureondemand=true
org.gradle.caching=true
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
kotlin.compiler.preciseCompilationResultsBackup=true