-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (35 loc) · 1.08 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
37
38
39
40
41
42
43
buildscript {
repositories {
mavenLocal()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.rodm:gradle-teamcity-plugin:1.4.1"
classpath 'com.bmuschko:gradle-tomcat-plugin:2.7.0'
}
}
group = 'org.parchmentmc.axe'
version = '2.5'
ext {
javaVersion = hasProperty('plugin.java.version') ? property('plugin.java.version') : '1.8'
teamcityVersion = project.hasProperty('teamcity.version') ? property('teamcity.version') : '2020.2'
serversDir = project.hasProperty('servers.dir') ? property('servers.dir') : "$rootDir/servers"
}
configure(subprojects - project(':build') - project(':environments')) {
apply plugin: 'java'
apply plugin: 'com.bmuschko.tomcat-base'
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
version = rootProject.version
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
maven {
url = 'http://repository.jetbrains.com/all'
}
}
}