Fixed gradle not reloading

This commit is contained in:
Ryder Belserion 2023-02-18 21:31:44 -05:00
parent b53c9dd864
commit 22be7cf573
No known key found for this signature in database
GPG Key ID: 8FC2E6C54BBF05FE
36 changed files with 18 additions and 37 deletions

View File

@ -17,17 +17,7 @@ license {
include("**/*.java")
}
//java {
// toolchain.languageVersion.set(JavaLanguageVersion.of(project.properties["java_version"].toString()))
//}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
//tasks {
// compileJava {
// options.release.set(project.properties["java_version"].toString().toInt())
// }
//}
}

View File

@ -3,15 +3,5 @@ plugins {
}
repositories {
exclusiveContent {
forRepository {
maven("https://repo.papermc.io/repository/maven-public/")
}
filter {
includeGroup("io.papermc.paper")
includeGroup("com.mojang")
includeGroup("net.md-5")
}
}
maven("https://repo.papermc.io/repository/maven-public/")
}

View File

@ -7,12 +7,14 @@ paper = "1.19.3-R0.1-SNAPSHOT"
adventure = "4.12.0"
# RubyCore
ruby = "0.0.1"
ruby = "0.0.1.1"
[libraries]
# Minecraft
papermc = { module = "io.papermc.paper:paper-api", version.ref = "paper" }
spigot = { module = "org.spigotmc:spigot-api", version.ref = "paper" }
# Adventure
adventure_api = { module = "net.kyori:adventure-api", version.ref = "adventure" }

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -13,21 +13,16 @@ repositories {
*/
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
exclusiveContent {
forRepository {
maven("https://repo.crazycrew.us/libraries")
}
filter {
includeGroup("net.dehya.ruby")
}
}
/**
* CrazyCrew Team
*/
maven("https://repo.crazycrew.us/libraries")
}
dependencies {
//api(project(":crazyauctions-core"))
api(project(":crazyauctions-core"))
compileOnly(libs.papermc)
compileOnly(libs.spigot)
implementation(libs.ruby.paper)
implementation(libs.ruby.api)
@ -35,7 +30,9 @@ dependencies {
implementation(libs.triumph.gui)
implementation(libs.triumph.cmds)
implementation(libs.vault.api)
implementation(libs.vault.api) {
exclude("org.bukkit", "bukkit")
}
}
val projectDescription = settings.versions.projectDescription.get()

View File

@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")
dependencyResolutionManagement {
includeBuild("build-logic")
@ -24,7 +26,7 @@ val lowerCase = rootProject.name.toLowerCase()
include("core")
project(":core").name = "$lowerCase-core"
listOf("paper").forEach(::includePlatform)
listOf("spigot").forEach(::includePlatform)
fun includeProject(name: String) {
include(name) {