mirror of
https://github.com/TheWhiteDog9487/WebAPI.git
synced 2026-08-11 23:01:30 +08:00
暂时废弃GraalVM Native Image
这东西太折磨人了,而且我本地设备还编译不了 用Github Codespace编译 -> 测试 -> 发现反射爆炸又要加规则 -> 重新编译 这一套流程跑一次半个小时没了,跑之前还无法预知到底要弄几次
This commit is contained in:
+12
-11
@@ -9,11 +9,11 @@ plugins {
|
||||
id("org.springframework.boot") version "4.1.0"
|
||||
id("io.spring.dependency-management") version "1.1.7"
|
||||
id("org.hibernate.orm") version "7.4.1.Final"
|
||||
id("org.graalvm.buildtools.native") version "1.1.1"
|
||||
// id("org.graalvm.buildtools.native") version "1.1.1"
|
||||
}
|
||||
|
||||
group = "xyz.thewhitedog9487"
|
||||
version = "0.8.0"
|
||||
version = "0.8.1"
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
@@ -48,22 +48,22 @@ dependencies {
|
||||
annotationProcessor("org.projectlombok:lombok")
|
||||
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
|
||||
kapt("org.springframework.boot:spring-boot-configuration-processor")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-actuator-test")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-actuator-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-data-redis-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-jdbc-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-restclient-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-security-oauth2-authorization-server-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-security-oauth2-client-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-security-oauth2-resource-server-test")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-security-test")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-security-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-websocket-test")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
||||
testCompileOnly("org.projectlombok:lombok")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
testAnnotationProcessor("org.projectlombok:lombok")
|
||||
testImplementation(kotlin("test"))
|
||||
// testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
||||
// testCompileOnly("org.projectlombok:lombok")
|
||||
// testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
// testAnnotationProcessor("org.projectlombok:lombok")
|
||||
// testImplementation(kotlin("test"))
|
||||
|
||||
implementation("io.github.oshai:kotlin-logging-jvm:7.0.3")
|
||||
implementation("org.hibernate.orm:hibernate-community-dialects")
|
||||
@@ -107,6 +107,7 @@ tasks.withType<KotlinCompile>().configureEach {
|
||||
freeCompilerArgs.add("-Xannotation-default-target=param-property")
|
||||
}
|
||||
}
|
||||
|
||||
kapt {
|
||||
keepJavacAnnotationProcessors = true
|
||||
}
|
||||
Reference in New Issue
Block a user