Eclipse 설정 및 JDK17 빌드 환경 구성
- build.gradle: nexus 저장소 추가, eclipse-wtp → eclipse 플러그인 변경 - gradle.properties: org.gradle.java.home=JDK17 설정 (nashorn-core:15.4 대응)
This commit is contained in:
+12
-1
@@ -4,7 +4,7 @@ plugins {
|
||||
id 'com.diffplug.eclipse.apt' version '3.41.1'
|
||||
id 'java'
|
||||
id 'java-library'
|
||||
id 'eclipse-wtp'
|
||||
id 'eclipse'
|
||||
id 'idea'
|
||||
id 'war'
|
||||
}
|
||||
@@ -18,6 +18,17 @@ sourceCompatibility = "1.8"
|
||||
targetCompatibility = "1.8"
|
||||
|
||||
|
||||
def nexusUrl = "https://nexus.eactive.synology.me:8090"
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven {
|
||||
url "${nexusUrl}/repository/maven-public/"
|
||||
allowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
annotationProcessor
|
||||
configureEach {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
org.gradle.java.home=C:\\Program Files\\Java\\jdk-17
|
||||
|
||||
Reference in New Issue
Block a user