mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-10-31 08:32:18 +01:00
Specify which repositories contain what content, put api annotation processing in a different spot for platforms
This commit is contained in:
parent
3ff0c80e9a
commit
33d724212a
13
build.gradle
13
build.gradle
@ -48,13 +48,20 @@ allprojects {
|
||||
|
||||
repositories {
|
||||
// Snapshot repositories
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||
//maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
|
||||
//mavenLocal()
|
||||
|
||||
mavenLocal()
|
||||
maven {
|
||||
url 'https://nexus.scarsz.me/content/groups/public/'
|
||||
content {
|
||||
includeGroup 'github.scarsz'
|
||||
includeGroup 'me.scarsz'
|
||||
}
|
||||
}
|
||||
|
||||
// Get dependencies from central last, everything else should be filtered
|
||||
mavenCentral()
|
||||
maven { url 'https://nexus.scarsz.me/content/groups/public/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -2,19 +2,35 @@ apply from: rootProject.file('buildscript/runtime.gradle')
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
||||
}
|
||||
filter {
|
||||
includeGroup 'com.destroystokyo.paper'
|
||||
}
|
||||
}
|
||||
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven { url 'https://nexus.scarsz.me/content/groups/public/' }
|
||||
}
|
||||
filter {
|
||||
includeGroup 'net.milkbowl.vault'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API
|
||||
annotationProcessor project(':api')
|
||||
|
||||
// Platform
|
||||
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API
|
||||
annotationProcessor project(':api')
|
||||
|
||||
// Common
|
||||
compileOnly project(':common:common-server')
|
||||
implementation project(path: ':common:common-server', configuration: 'runtimeElements')
|
||||
@ -26,7 +42,7 @@ dependencies {
|
||||
runtimeDownloadApi 'net.kyori:adventure-platform-bukkit:' + rootProject.adventurePlatformVersion
|
||||
|
||||
// Integrations
|
||||
compileOnly "com.github.MilkBowl:VaultAPI:1.7"
|
||||
compileOnly 'net.milkbowl.vault:VaultAPI:1.7'
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -2,19 +2,26 @@ apply from: rootProject.file('buildscript/runtime.gradle')
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||
}
|
||||
filter {
|
||||
includeGroup 'net.md-5'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API
|
||||
annotationProcessor project(':api')
|
||||
|
||||
// Platform
|
||||
compileOnly 'net.md-5:bungeecord-api:1.17-R0.1-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API
|
||||
annotationProcessor project(':api')
|
||||
|
||||
// Common
|
||||
implementation project(':common:common-proxy')
|
||||
|
||||
|
@ -3,13 +3,17 @@ apply from: rootProject.file('buildscript/runtime.gradle')
|
||||
var spongeVersion = '8.0.0'
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url 'https://repo.spongepowered.org/maven/' }
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven { url 'https://repo.spongepowered.org/maven/' }
|
||||
}
|
||||
filter {
|
||||
includeGroup 'org.spongepowered'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API
|
||||
annotationProcessor project(':api')
|
||||
|
||||
// Platform
|
||||
annotationProcessor 'org.spongepowered:spongeapi:' + spongeVersion
|
||||
compileOnly 'org.spongepowered:spongeapi:' + spongeVersion
|
||||
@ -17,6 +21,9 @@ allprojects {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API
|
||||
annotationProcessor project(':api')
|
||||
|
||||
// Common
|
||||
implementation project(':common:common-server')
|
||||
|
||||
|
@ -2,7 +2,14 @@ apply from: rootProject.file('buildscript/standalone.gradle')
|
||||
apply plugin: 'net.kyori.blossom'
|
||||
|
||||
repositories {
|
||||
maven { url 'https://nexus.velocitypowered.com/repository/maven-public/' }
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven { url 'https://nexus.velocitypowered.com/repository/maven-public/' }
|
||||
}
|
||||
filter {
|
||||
includeGroup 'com.velocitypowered'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var velocityVersion = '3.0.0'
|
||||
|
Loading…
Reference in New Issue
Block a user