Add common submodule dependencies to subprojects block

This commit is contained in:
Allink 2023-06-16 00:24:34 +01:00
parent 0681dc3b3e
commit 29ac78a32e
No known key found for this signature in database
10 changed files with 8 additions and 17 deletions

View File

@ -26,6 +26,14 @@ subprojects {
url = uri("https://maven.playpro.com/")
}
}
dependencies {
if (project.name != "shared") {
implementation(project(":shared"))
}
compileOnly("net.coreprotect:coreprotect:21.3")
}
}
tasks {

View File

@ -2,7 +2,6 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
implementation(project(":v1_20_R1"))
implementation(project(":v1_19_R3"))
implementation(project(":v1_19_R2"))
@ -11,5 +10,4 @@ dependencies {
implementation(project(":v1_18_R1"))
implementation(project(":v1_17_R1"))
compileOnly("io.papermc.paper:paper-api:1.20-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -3,5 +3,4 @@ version = rootProject.version
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -2,7 +2,5 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
compileOnly("org.spigotmc:spigot:1.17.1-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -2,7 +2,5 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
compileOnly("org.spigotmc:spigot:1.18.1-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -2,7 +2,5 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
compileOnly("org.spigotmc:spigot:1.18.2-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -2,7 +2,5 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
compileOnly("org.spigotmc:spigot:1.19.2-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -2,7 +2,5 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
compileOnly("org.spigotmc:spigot:1.19.3-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -2,7 +2,5 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
compileOnly("org.spigotmc:spigot:1.19.4-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}

View File

@ -2,7 +2,5 @@ group = rootProject.group
version = rootProject.version
dependencies {
implementation(project(":shared"))
compileOnly("org.spigotmc:spigot:1.20.1-R0.1-SNAPSHOT")
compileOnly("net.coreprotect:coreprotect:21.3")
}