Migrate to java
This commit is contained in:
parent
1588c01b19
commit
dccc1e439d
8 changed files with 243 additions and 192 deletions
37
r5-java/build.gradle
Normal file
37
r5-java/build.gradle
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id 'com.github.johnrengelman.shadow' version '8.1.1'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'propertymap.App'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.conveyal:r5:7.2'
|
||||
implementation 'io.javalin:javalin:6.4.0'
|
||||
implementation 'com.google.code.gson:gson:2.11.0'
|
||||
implementation 'org.slf4j:slf4j-simple:2.0.16'
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Main-Class': 'propertymap.App'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
archiveClassifier = ''
|
||||
mergeServiceFiles()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue