fix compiling with java 8

This commit is contained in:
Dan Mulloy 2023-04-09 19:34:15 -05:00
parent 098b3957c0
commit 24204e7515
No known key found for this signature in database
GPG Key ID: F379C293F178751F

View File

@ -12,19 +12,24 @@ description = 'Provides access to the Minecraft protocol'
// java.targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenLocal()
// mavenLocal()
mavenCentral()
maven {
url = uri('https://repo.dmulloy2.net/repository/public/')
url 'https://repo.dmulloy2.net/repository/public/'
}
maven {
url = uri('https://hub.spigotmc.org/nexus/content/groups/public/')
url 'https://hub.spigotmc.org/nexus/content/groups/public/'
}
maven {
url = uri('https://libraries.minecraft.net/')
url 'https://libraries.minecraft.net/'
metadataSources {
mavenPom()
artifact()
ignoreGradleMetadataRedirection()
}
}
}