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 {
maven("https://repo.stellardrift.ca/repository/snapshots/")
gradlePluginPortal()
maven("https://repo.opencollab.dev/maven-snapshots")
}
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")
// Within the gradle plugin classpath, there is a version conflict between loom and some other

View file

@ -1,6 +1,5 @@
plugins {
`java-library`
`eclipse`
id("net.kyori.indra")
}
@ -35,14 +34,4 @@ 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 {
repositories {
maven(url = "https://repo.stellardrift.ca/repository/snapshots/")
gradlePluginPortal()
maven("https://maven.fabricmc.net/")
maven("https://repo.opencollab.dev/maven-snapshots")