Ascension/velocity/build.gradle

46 lines
1008 B
Groovy
Raw Normal View History

2021-07-29 03:14:29 +02:00
apply from: rootProject.file('buildscript/standalone.gradle')
apply plugin: 'net.kyori.blossom'
2024-06-23 15:26:15 +02:00
apply plugin: 'org.jetbrains.gradle.plugin.idea-ext'
sourceSets {
main {
blossom {
javaSources {
property('version', project.version.toString())
}
}
}
}
2021-07-29 03:14:29 +02:00
2022-03-20 12:46:06 +01:00
shadowJar {
archiveBaseName = 'DiscordSRV-Velocity'
// Relocations in buildscript/relocations.gradle
}
2021-07-29 03:14:29 +02:00
repositories {
exclusiveContent {
forRepository {
maven { url 'https://nexus.velocitypowered.com/repository/maven-public/' }
}
filter {
includeGroup 'com.velocitypowered'
}
}
2021-07-29 03:14:29 +02:00
}
dependencies {
// API
annotationProcessor project(':api')
implementation project(':common:common-api')
2021-07-29 03:14:29 +02:00
// Common
implementation project(':common')
2021-07-29 03:14:29 +02:00
// Platform
2022-04-22 19:56:11 +02:00
annotationProcessor(libs.velocity)
compileOnly(libs.velocity)
2021-07-29 03:14:29 +02:00
// DependencyDownload
2022-04-22 19:56:11 +02:00
implementation(libs.mcdependencydownload.velocity)
2024-06-23 15:26:15 +02:00
}