mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Properly build on eclipse via indra
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
parent
41d7d8e3a3
commit
e266ee9ff6
3 changed files with 4 additions and 13 deletions
|
@ -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
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
`java-library`
|
`java-library`
|
||||||
`eclipse`
|
|
||||||
id("net.kyori.indra")
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue