mirror of https://github.com/usbharu/Hideout.git
chore: gradleの設定とテストを調整
This commit is contained in:
parent
bf2dbf159a
commit
2501990dac
|
@ -2,3 +2,4 @@ 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
|
||||
kotlin.compiler.preciseCompilationResultsBackup=true
|
|
@ -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
|
||||
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() {
|
||||
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)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
kotlin.code.style=official
|
||||
org.gradle.daemon=true
|
||||
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
|
||||
kotlin.compiler.preciseCompilationResultsBackup=true
|
Loading…
Reference in New Issue