-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 使用 libs.versions.toml 统一管理 Gradle 依赖信息 * 将 jandex 封装为插件,便于使用 * chore: 移除未使用的 gradle.properties * chore: 统一管理 Quarkus 版本号
- Loading branch information
Showing
11 changed files
with
37 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
plugins { | ||
id 'groovy-gradle-plugin' | ||
id 'java-library' | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
|
||
dependencies { | ||
implementation gradleApi() | ||
implementation 'org.kordamp.gradle:jandex-gradle-plugin:2.0.0' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins { | ||
id 'org.kordamp.gradle.jandex' | ||
} | ||
|
||
tasks.named('checkstyleMain').configure { | ||
dependsOn 'jandex' | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
[versions] | ||
testcontainers = "1.20.0" | ||
|
||
quarkus = "3.12.3" | ||
|
||
[libraries] | ||
testcontainers-postgresql = { module = "org.testcontainers:postgresql", version.ref = "testcontainers" } | ||
|
||
quarkus-platform-bom = { module = "io.quarkus.platform:quarkus-bom", version.ref = "quarkus" } | ||
|
||
[plugins] | ||
quarkus = { id = "io.quarkus", version.ref = "quarkus" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
plugins { | ||
id 'java' | ||
id 'java-library' | ||
id 'org.kordamp.gradle.jandex' version '2.0.0' | ||
id 'checkstyle' | ||
id 'configure-jandex' | ||
} | ||
|
||
|
||
dependencies { | ||
api enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") | ||
api enforcedPlatform(libs.quarkus.platform.bom) | ||
|
||
api project(':my-database') | ||
|
||
api 'io.quarkus:quarkus-rest' | ||
api 'io.quarkus:quarkus-arc' | ||
api 'io.quarkus:quarkus-rest-jackson' | ||
|
||
|
||
testImplementation 'io.quarkus:quarkus-junit5' | ||
testImplementation 'io.rest-assured:rest-assured' | ||
} | ||
|
||
tasks.named('checkstyleMain').configure { | ||
dependsOn 'jandex' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
plugins { | ||
id 'java' | ||
id 'java-library' | ||
id 'org.kordamp.gradle.jandex' version '2.0.0' | ||
id 'checkstyle' | ||
id 'configure-jandex' | ||
} | ||
|
||
|
||
dependencies { | ||
api enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") | ||
api enforcedPlatform(libs.quarkus.platform.bom) | ||
implementation project(':my-database') | ||
|
||
api "io.quarkus:quarkus-jdbc-postgresql" | ||
} | ||
|
||
tasks.named('checkstyleMain').configure { | ||
dependsOn 'jandex' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
plugins { | ||
id 'java' | ||
id 'org.kordamp.gradle.jandex' version '2.0.0' | ||
id 'checkstyle' | ||
id 'configure-jandex' | ||
} | ||
|
||
|
||
dependencies { | ||
implementation project(':my-database') | ||
// implementation project(':my-core-uni') | ||
} | ||
|
||
tasks.named('checkstyleMain').configure { | ||
dependsOn 'jandex' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters