From 2501990dac78efa958c08e401cc4e4e2b506a1ee Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Wed, 11 Sep 2024 06:20:58 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20gradle=E3=81=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=81=A8=E3=83=86=E3=82=B9=E3=83=88=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 3 ++- hideout-core/gradle.properties | 4 ++-- .../src/test/kotlin/utils/AbstractRepositoryTest.kt | 2 +- owl/gradle.properties | 7 ++++--- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/gradle.properties b/gradle.properties index 936dc96e..d345cf66 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,5 @@ org.gradle.parallel=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 \ No newline at end of file +org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED +kotlin.compiler.preciseCompilationResultsBackup=true \ No newline at end of file diff --git a/hideout-core/gradle.properties b/hideout-core/gradle.properties index e628db63..0e81c240 100644 --- a/hideout-core/gradle.properties +++ b/hideout-core/gradle.properties @@ -13,8 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -kotlin.code.style=official org.gradle.parallel=true org.gradle.configureondemand=true org.gradle.caching=true -org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC \ No newline at end of file +org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED +kotlin.compiler.preciseCompilationResultsBackup=true \ No newline at end of file diff --git a/hideout-core/src/test/kotlin/utils/AbstractRepositoryTest.kt b/hideout-core/src/test/kotlin/utils/AbstractRepositoryTest.kt index ce7a19f3..569cfa60 100644 --- a/hideout-core/src/test/kotlin/utils/AbstractRepositoryTest.kt +++ b/hideout-core/src/test/kotlin/utils/AbstractRepositoryTest.kt @@ -64,7 +64,7 @@ abstract class AbstractRepositoryTest(private val exposedTable: org.jetbrains.ex fun setup() { val hikariConfig = HikariConfig() 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.transactionIsolation = "TRANSACTION_READ_UNCOMMITTED" dataSource = HikariDataSource(hikariConfig) diff --git a/owl/gradle.properties b/owl/gradle.properties index 43cbcbb4..d345cf66 100644 --- a/owl/gradle.properties +++ b/owl/gradle.properties @@ -1,4 +1,5 @@ -kotlin.code.style=official -org.gradle.daemon=true org.gradle.parallel=true -org.gradle.configureondemand=true \ No newline at end of file +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 \ No newline at end of file