2024-04-01

This commit is contained in:
2024-04-01 20:11:09 +09:00
parent a2349837be
commit c4291c2746
26 changed files with 464 additions and 34 deletions

View File

@@ -2,21 +2,36 @@ plugins {
java
}
group = "com.elex-project"
version = "1.0-SNAPSHOT"
description = ""//todo
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation("org.slf4j:slf4j-api:2.1.0-alpha1")
implementation("org.jetbrains:annotations:24.1.0")
compileOnly("org.projectlombok:lombok:1.18.32")
annotationProcessor("org.projectlombok:lombok:1.18.32")
testAnnotationProcessor("org.projectlombok:lombok:1.18.32")
testImplementation("ch.qos.logback:logback-classic:1.5.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2")
}
repositories {
maven {
name = "Nexus 3 Repository"
url = uri(project.findProperty("repo.url") as String)
credentials {
username = project.findProperty("repo.username") as String
password = project.findProperty("repo.password") as String
}
}
}
java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = org.gradle.api.JavaVersion.VERSION_11
targetCompatibility = org.gradle.api.JavaVersion.VERSION_11
sourceCompatibility = org.gradle.api.JavaVersion.VERSION_17
targetCompatibility = org.gradle.api.JavaVersion.VERSION_17
}
configurations {
@@ -51,16 +66,4 @@ tasks.javadoc {
(options as StandardJavadocDocletOptions).docEncoding = "UTF-8"
}
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation("org.slf4j:slf4j-api:2.0.6")
implementation("org.jetbrains:annotations:24.0.0")
compileOnly("org.projectlombok:lombok:1.18.26")
annotationProcessor("org.projectlombok:lombok:1.18.26")
testAnnotationProcessor("org.projectlombok:lombok:1.18.26")
testImplementation("ch.qos.logback:logback-classic:1.4.5")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2")
}