-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (28 loc) · 1.23 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
id 'pl.allegro.tech.build.axion-release' version '1.13.6'
}
group 'com.guflimc.brick.stats'
version = scmVersion.version
def javadocProjects = [project(':api')]
ext.set("javadocProjects", javadocProjects)
def publishProjects = [project(':api')]
ext.set("publishProjects", publishProjects)
def shadowProjects = [project(':spigot')]
ext.set("shadowProjects", shadowProjects)
subprojects {
apply plugin: 'java'
repositories {
mavenCentral()
maven { url 'https://repo.spongepowered.org/maven' }
maven { url "https://repo.jorisg.com/snapshots" }
}
}
apply from: 'https://guflimc.github.io/scripts/gradle/subprojects-default.gradle'
apply from: 'https://guflimc.github.io/scripts/gradle/subprojects-javadoc.gradle'
apply from: 'https://guflimc.github.io/scripts/gradle/subprojects-shadow.gradle'
apply from: 'https://guflimc.github.io/scripts/gradle/subprojects-publish.gradle'
if ( System.getProperty("os.name").toLowerCase().contains("windows") ) {
ext.set("shadowCopy", [(project(':spigot')): 'D:/Documents/testservers/1.19 - cob/plugins'])
apply from: 'https://guflimc.github.io/scripts/gradle/subprojects-shadow-copy.gradle'
}