2026-02-15 09:58:46 -05:00
|
|
|
/*
|
|
|
|
|
* Gradle 'init' task.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
|
id 'application'
|
|
|
|
|
id("org.openjfx.javafxplugin") version "0.1.0"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
java {
|
|
|
|
|
modularity.inferModulePath = true
|
|
|
|
|
toolchain {
|
|
|
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
group = 'edu.bookocontacts'
|
|
|
|
|
version = '1.0'
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
application {
|
2026-02-18 15:05:18 -05:00
|
|
|
mainClass = 'edu.bookocontacts.AppSceneView'
|
2026-02-15 09:58:46 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
main {
|
|
|
|
|
resources {
|
|
|
|
|
srcDirs = ['src/main/resources']
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
javafx {
|
|
|
|
|
version = "25.0.2"
|
|
|
|
|
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.graphics' ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation("org.slf4j:slf4j-api:2.0.17")
|
|
|
|
|
implementation("ch.qos.logback:logback-classic:1.5.26")
|
|
|
|
|
implementation("org.aspectj:aspectjrt:1.9.25")
|
|
|
|
|
|
2026-02-18 15:05:18 -05:00
|
|
|
implementation 'org.xerial:sqlite-jdbc:3.51.2.0'
|
|
|
|
|
implementation 'jakarta.activation:jakarta.activation-api:2.1.4'
|
|
|
|
|
|
|
|
|
|
implementation 'org.openjfx:javafx-base:25.0.2'
|
|
|
|
|
implementation 'org.openjfx:javafx-fxml:25.0.2'
|
|
|
|
|
implementation 'org.openjfx:javafx-controls:25.0.2'
|
2026-02-15 09:58:46 -05:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
jar {
|
|
|
|
|
manifest {
|
|
|
|
|
attributes 'Main-Class': application.mainClass
|
|
|
|
|
}
|
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.named('jar') {
|
|
|
|
|
manifest {
|
|
|
|
|
attributes('Automatic-Module-Name':group,
|
|
|
|
|
'Implementation-Title': group,
|
|
|
|
|
'Implementation-Version': 1.0,
|
|
|
|
|
'Main-Class': application.mainClass,
|
2026-02-19 18:48:06 -05:00
|
|
|
'Class-Path': '. edu.bookocontacts edu.bookocontacts.model javafx.base javafx.controls' )
|
2026-02-15 09:58:46 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|