2025-08-28 21:08:16 -04:00
|
|
|
/*
|
|
|
|
|
* This file was generated by the Gradle 'init' task.
|
|
|
|
|
*
|
|
|
|
|
* This is a general purpose Gradle build.
|
|
|
|
|
* Learn more about Gradle by exploring our Samples at https://docs.gradle.org/8.14.3/samples
|
|
|
|
|
* This project uses @Incubating APIs which are subject to change.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
|
id 'java'
|
|
|
|
|
id 'application'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
|
|
|
|
|
|
|
|
application {
|
2025-09-16 20:53:58 -04:00
|
|
|
mainClass = 'lodge.TestReservations'
|
2025-08-28 21:08:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
main {
|
|
|
|
|
java {
|
|
|
|
|
srcDirs = ['src/java']
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-13 18:09:48 -04:00
|
|
|
repositories {
|
|
|
|
|
fileTree(dir:'libs', include:'*.jar')
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-28 21:08:16 -04:00
|
|
|
dependencies {
|
2025-09-13 18:09:48 -04:00
|
|
|
implementation files('libs/gson-2.13.1.jar')
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-16 20:53:58 -04:00
|
|
|
jar {
|
|
|
|
|
manifest {
|
|
|
|
|
attributes 'Main-Class': application.mainClass
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.named('jar') {
|
|
|
|
|
manifest {
|
2025-09-18 12:18:33 -04:00
|
|
|
attributes('Implementation-Title': 'lodge.reservationsystem',
|
2025-09-16 20:53:58 -04:00
|
|
|
'Implementation-Version': 1.0,
|
|
|
|
|
'Main-Class': 'lodge.TestReservations',
|
|
|
|
|
'Class-Path': 'lodge.reservationsystem com.google.gson .' )
|
|
|
|
|
}
|
|
|
|
|
}
|