2023-02-28T02:14:14
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = uri("https://repository.elex-project.com/repository/maven")
|
url = uri(project.findProperty("repo.url") as String)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ description = ""//todo
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
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 {
|
dependencies {
|
||||||
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
|
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
|
||||||
implementation("org.slf4j:slf4j-api:1.7.30")
|
implementation("org.slf4j:slf4j-api:2.0.6")
|
||||||
implementation("org.jetbrains:annotations:22.0.0")
|
implementation("org.jetbrains:annotations:24.0.0")
|
||||||
|
|
||||||
compileOnly("org.projectlombok:lombok:1.18.20")
|
compileOnly("org.projectlombok:lombok:1.18.26")
|
||||||
annotationProcessor("org.projectlombok:lombok:1.18.20")
|
annotationProcessor("org.projectlombok:lombok:1.18.26")
|
||||||
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
|
testAnnotationProcessor("org.projectlombok:lombok:1.18.26")
|
||||||
|
|
||||||
testImplementation("ch.qos.logback:logback-classic:1.2.3")
|
testImplementation("ch.qos.logback:logback-classic:1.4.5")
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.7.0")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
|
||||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.0")
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ publishing {
|
|||||||
license {
|
license {
|
||||||
// todo
|
// todo
|
||||||
name.set("Apache License 2.0")
|
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("")
|
comments.set("")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -61,9 +61,9 @@ publishing {
|
|||||||
}
|
}
|
||||||
scm {
|
scm {
|
||||||
// todo
|
// todo
|
||||||
connection.set("scm:git:https://github.com/elex-project/${rootProject.name}.git")
|
connection.set("scm:git:https://git.elex-project.com/elex/${rootProject.name}.git")
|
||||||
developerConnection.set("scm:git:https://github.com/elex-project/${rootProject.name}.git")
|
developerConnection.set("scm:git:https://git.elex-project.com/elex/${rootProject.name}.git")
|
||||||
url.set("https://github.com/elex-project/${rootProject.name}/")
|
url.set("https://git.elex-project.com/elex/${rootProject.name}/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,8 +72,8 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "mavenElex"
|
name = "mavenElex"
|
||||||
val urlRelease = uri("https://repository.elex-project.com/repository/maven-releases")
|
val urlRelease = uri(project.findProperty("repo.release.url") as String)
|
||||||
val urlSnapshot = uri("https://repository.elex-project.com/repository/maven-snapshots")
|
val urlSnapshot = uri(project.findProperty("repo.snapshot.url") as String)
|
||||||
url = if (version.toString().endsWith("SNAPSHOT")) urlSnapshot else urlRelease
|
url = if (version.toString().endsWith("SNAPSHOT")) urlSnapshot else urlRelease
|
||||||
// Repository credential, Must be defined in ~/.gradle/gradle.properties
|
// Repository credential, Must be defined in ~/.gradle/gradle.properties
|
||||||
credentials {
|
credentials {
|
||||||
@@ -83,7 +83,7 @@ publishing {
|
|||||||
}
|
}
|
||||||
maven { //todo
|
maven { //todo
|
||||||
name = "mavenGithub"
|
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 {
|
credentials {
|
||||||
username = project.findProperty("github.username") as String
|
username = project.findProperty("github.username") as String
|
||||||
password = project.findProperty("github.token") as String
|
password = project.findProperty("github.token") as String
|
||||||
|
|||||||
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -7,6 +7,6 @@
|
|||||||
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-all.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
Reference in New Issue
Block a user