update projects.
This commit is contained in:
@@ -19,7 +19,7 @@ group = 'edu.addressbook'
|
||||
version = '1.0'
|
||||
|
||||
application {
|
||||
mainClass = 'edu.addressbook.App'
|
||||
mainClass = 'edu.addressbook.api.App'
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -34,23 +34,20 @@ javafx {
|
||||
|
||||
|
||||
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")
|
||||
implementation("org.slf4j:slf4j-api:2.0.17")
|
||||
implementation("ch.qos.logback:logback-classic:1.5.26")
|
||||
implementation("org.aspectj:aspectjrt:1.9.25")
|
||||
|
||||
implementation 'org.openjfx:javafx-base:25.0.1'
|
||||
implementation 'org.openjfx:javafx-fxml:25.0.1'
|
||||
implementation 'org.openjfx:javafx-controls:25.0.1'
|
||||
implementation 'org.openjfx:javafx-graphics:25.0.1'
|
||||
implementation 'org.openjfx:javafx-web:25.0.1'
|
||||
implementation 'org.xerial:sqlite-jdbc:3.51.2.0'
|
||||
|
||||
implementation 'jakarta.activation:jakarta.activation-api:2.1.4'
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Automatic-Module-Name': group,
|
||||
'Main-Class': application.mainClass,
|
||||
'Class-Path': 'edu.addressbook org.aspectj.runtime'
|
||||
'Class-Path': 'edu.addressbook org.aspectj.runtime .'
|
||||
}
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
@@ -59,10 +56,10 @@ jar {
|
||||
tasks.named('jar') {
|
||||
manifest {
|
||||
attributes(
|
||||
'Automatic-Module-Name':'edu.addressbook',
|
||||
'Implementation-Title': 'edu.addressbook',
|
||||
'Automatic-Module-Name':group,
|
||||
'Implementation-Title': group,
|
||||
'Implementation-Version': 1.0,
|
||||
'Main-Class': 'edu.addressbook.App',
|
||||
'Class-Path': 'edu.addressbook org.aspectj.runtime' )
|
||||
'Main-Class': application.mainClass,
|
||||
'Class-Path': 'edu.addressbook org.aspectj.runtime .' )
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user