2023-02-28T02:14:14

This commit is contained in:
2023-02-28 02:14:14 +09:00
parent 00b8ccc689
commit a2349837be
4 changed files with 19 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ description = ""//todo
repositories {
maven {
url = uri("https://repository.elex-project.com/repository/maven")
url = uri(project.findProperty("repo.url") as String)
}
}
@@ -53,14 +53,14 @@ tasks.javadoc {
}
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation("org.slf4j:slf4j-api:1.7.30")
implementation("org.jetbrains:annotations:22.0.0")
implementation("org.slf4j:slf4j-api:2.0.6")
implementation("org.jetbrains:annotations:24.0.0")
compileOnly("org.projectlombok:lombok:1.18.20")
annotationProcessor("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
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.2.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.7.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.0")
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")
}

View File

@@ -35,7 +35,7 @@ publishing {
license {
// todo
name.set("Apache License 2.0")
url.set("https://github.com/elex-project/${rootProject.name}/blob/main/LICENSE")
url.set("https://git.elex-project.com/elex/${rootProject.name}/blob/main/LICENSE")
comments.set("")
}
}
@@ -61,9 +61,9 @@ publishing {
}
scm {
// todo
connection.set("scm:git:https://github.com/elex-project/${rootProject.name}.git")
developerConnection.set("scm:git:https://github.com/elex-project/${rootProject.name}.git")
url.set("https://github.com/elex-project/${rootProject.name}/")
connection.set("scm:git:https://git.elex-project.com/elex/${rootProject.name}.git")
developerConnection.set("scm:git:https://git.elex-project.com/elex/${rootProject.name}.git")
url.set("https://git.elex-project.com/elex/${rootProject.name}/")
}
}
}
@@ -72,8 +72,8 @@ publishing {
repositories {
maven {
name = "mavenElex"
val urlRelease = uri("https://repository.elex-project.com/repository/maven-releases")
val urlSnapshot = uri("https://repository.elex-project.com/repository/maven-snapshots")
val urlRelease = uri(project.findProperty("repo.release.url") as String)
val urlSnapshot = uri(project.findProperty("repo.snapshot.url") as String)
url = if (version.toString().endsWith("SNAPSHOT")) urlSnapshot else urlRelease
// Repository credential, Must be defined in ~/.gradle/gradle.properties
credentials {
@@ -83,7 +83,7 @@ publishing {
}
maven { //todo
name = "mavenGithub"
url = uri("https://maven.pkg.github.com/elex-project/${rootProject.name}")
url = uri("https://maven.pkg.git.elex-project.com/elex/${rootProject.name}")
credentials {
username = project.findProperty("github.username") as String
password = project.findProperty("github.token") as String