Properly build on eclipse via indra

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle 2023-05-13 22:20:05 -07:00
parent 41d7d8e3a3
commit e266ee9ff6
No known key found for this signature in database
GPG key ID: F674F38216C35D5D
3 changed files with 4 additions and 13 deletions

View file

@ -3,12 +3,13 @@ plugins {
} }
repositories { repositories {
maven("https://repo.stellardrift.ca/repository/snapshots/")
gradlePluginPortal() gradlePluginPortal()
maven("https://repo.opencollab.dev/maven-snapshots") maven("https://repo.opencollab.dev/maven-snapshots")
} }
dependencies { dependencies {
implementation("net.kyori", "indra-common", "3.0.1") implementation("net.kyori", "indra-common", "3.1.0-SNAPSHOT")
implementation("com.github.johnrengelman", "shadow", "7.1.3-SNAPSHOT") implementation("com.github.johnrengelman", "shadow", "7.1.3-SNAPSHOT")
// Within the gradle plugin classpath, there is a version conflict between loom and some other // Within the gradle plugin classpath, there is a version conflict between loom and some other

View file

@ -1,6 +1,5 @@
plugins { plugins {
`java-library` `java-library`
`eclipse`
id("net.kyori.indra") id("net.kyori.indra")
} }
@ -36,13 +35,3 @@ tasks {
} }
} }
} }
eclipse {
classpath.file.whenMerged {
(this as org.gradle.plugins.ide.eclipse.model.Classpath).entries.forEach { entry ->
if (entry is org.gradle.plugins.ide.eclipse.model.Library) {
entry.entryAttributes["module"] = false
}
}
}
}

View file

@ -46,6 +46,7 @@ dependencyResolutionManagement {
pluginManagement { pluginManagement {
repositories { repositories {
maven(url = "https://repo.stellardrift.ca/repository/snapshots/")
gradlePluginPortal() gradlePluginPortal()
maven("https://maven.fabricmc.net/") maven("https://maven.fabricmc.net/")
maven("https://repo.opencollab.dev/maven-snapshots") maven("https://repo.opencollab.dev/maven-snapshots")