Get './gradlew eclipse' working again

This commit is contained in:
Michael Primm 2023-05-09 18:29:43 -05:00
parent 4e61fa6b22
commit 7218e56e5b
6 changed files with 12 additions and 0 deletions

View File

@ -28,6 +28,7 @@ eclipse {
allprojects {
repositories {
mavenLocal()
maven { url 'https://libraries.minecraft.net/' }
maven { url "https://oss.sonatype.org/content/repositories/releases" }
maven { url "https://repo.mikeprimm.com" }
maven { url "https://repo.maven.apache.org/maven2" }

View File

@ -1,3 +1,4 @@
plugins {
id 'fabric-loom' version '1.1.10'
}
@ -12,6 +13,8 @@ eclipse {
}
}
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly.
configurations {
shadow
implementation.extendsFrom(shadow)

View File

@ -12,6 +12,8 @@ eclipse {
}
}
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly.
configurations {
shadow
implementation.extendsFrom(shadow)

View File

@ -12,6 +12,8 @@ eclipse {
}
}
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly.
configurations {
shadow
implementation.extendsFrom(shadow)

View File

@ -12,6 +12,8 @@ eclipse {
}
}
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly.
configurations {
shadow
implementation.extendsFrom(shadow)

View File

@ -12,6 +12,8 @@ eclipse {
}
}
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly.
configurations {
shadow
implementation.extendsFrom(shadow)