mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
81 lines
2.4 KiB
Groovy
81 lines
2.4 KiB
Groovy
plugins {
|
|
id 'com.palantir.git-version' version '0.12.3'
|
|
id 'org.checkerframework' version '0.5.9'
|
|
}
|
|
|
|
// Gets the git commit hash of the latest commit, used for version string
|
|
ext.projectVersion = '1.0'
|
|
def gitHash = versionDetails().gitHash
|
|
|
|
group = 'net.draycia'
|
|
description = 'CarbonChat'
|
|
version = project.property('projectVersion') + '-' + gitHash
|
|
|
|
subprojects {
|
|
apply plugin: 'checkstyle'
|
|
apply plugin: 'java'
|
|
apply plugin: 'java-library'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'maven-publish'
|
|
apply plugin: 'org.checkerframework'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
|
|
maven { url = 'https://mvn.intellectualsites.com/content/repositories/snapshots' }
|
|
maven { url = 'https://repo.maven.apache.org/maven2' }
|
|
maven { url = 'https://oss.sonatype.org/content/groups/public/' }
|
|
maven { url = 'https://maven.enginehub.org/repo/' }
|
|
maven { url = 'https://papermc.io/repo/repository/maven-public/' }
|
|
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
|
|
maven { url = 'https://jitpack.io' }
|
|
maven { url = 'https://dl.bintray.com/ichbinjoe/public/' }
|
|
maven { url = 'https://repo.codemc.org/repository/maven-public/' }
|
|
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
|
|
maven { url = 'https://raw.githubusercontent.com/JorelAli/CommandAPI/mvn-repo/' }
|
|
maven { url = 'https://repo.minebench.de/' }
|
|
}
|
|
|
|
dependencies {
|
|
checkstyle("ca.stellardrift:stylecheck:0.1-SNAPSHOT")
|
|
}
|
|
|
|
checkstyle {
|
|
def configRoot = new File(rootProject.projectDir, '.checkstyle')
|
|
toolVersion = '8.34'
|
|
configDirectory = configRoot
|
|
configProperties = [basedir: configRoot.getAbsolutePath()]
|
|
}
|
|
|
|
sourceCompatibility = '1.8'
|
|
}
|
|
<<<<<<< HEAD
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
|
|
maven { url = 'https://repo.maven.apache.org/maven2' }
|
|
maven { url = 'https://oss.sonatype.org/content/groups/public/' }
|
|
maven { url = 'https://repo.minebench.de/' }
|
|
}
|
|
|
|
dependencies {
|
|
checkstyle("ca.stellardrift:stylecheck:0.1-SNAPSHOT")
|
|
|
|
// Components
|
|
api 'net.kyori:adventure-api:4.0.0-SNAPSHOT'
|
|
api 'net.kyori:adventure-nbt:4.0.0-SNAPSHOT'
|
|
api 'net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT'
|
|
api 'net.kyori:adventure-text-serializer-plain:4.0.0-SNAPSHOT'
|
|
api 'net.kyori:adventure-text-minimessage:4.0.0-SNAPSHOT'
|
|
api 'de.themoep:minedown-adventure:1.6.1-SNAPSHOT'
|
|
|
|
api 'net.kyori:event-api:3.0.0'
|
|
}
|
|
|
|
sourceCompatibility = '1.8'
|
|
=======
|
|
>>>>>>> Progress on CarbonChat-Common
|