2023-09-01 20:00:49 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2023 Pachli Association
|
|
|
|
*
|
|
|
|
* This file is a part of Pachli.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
|
|
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Pachli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
|
|
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
|
|
* Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with Pachli; if not,
|
|
|
|
* see <http://www.gnu.org/licenses>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
application {
|
2024-02-03 15:05:43 +01:00
|
|
|
mainClass = "app.pachli.mklanguages.MainKt"
|
2023-09-01 20:00:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// ICU
|
2024-01-08 16:43:18 +01:00
|
|
|
implementation("com.ibm.icu:icu4j:74.2")
|
2023-09-01 20:00:49 +02:00
|
|
|
|
|
|
|
// Parsing
|
|
|
|
implementation("com.github.h0tk3y.betterParse:better-parse:0.4.4")
|
|
|
|
|
|
|
|
// Logging
|
2024-03-04 14:53:10 +01:00
|
|
|
implementation("io.github.oshai:kotlin-logging-jvm:6.0.3")
|
2024-03-04 20:18:13 +01:00
|
|
|
implementation("ch.qos.logback:logback-classic:1.5.3")
|
2023-09-01 20:00:49 +02:00
|
|
|
|
|
|
|
// Testing
|
|
|
|
testImplementation(kotlin("test"))
|
2024-02-04 22:54:05 +01:00
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-params:5.10.2") // for parameterized tests
|
2023-09-01 20:00:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|