mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-05 21:05:19 +00:00
chore: gradleの設定とテストを調整
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
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 --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
|
||||||
@@ -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
|
||||||
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user