aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: 93602665999ef66ad428fb4c8105c504d7bad4f5 (plain)
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
allprojects {
    group = 'me.lucko'
    version = '1.6-SNAPSHOT'

    configurations {
        compileClasspath // Fabric-loom needs this for remap jar for some reason
    }
}

subprojects {
    apply plugin: 'java'
    apply plugin: 'idea'
    apply plugin: 'java-library'

    ext {
        pluginVersion = '1.6.2'
        pluginDescription = 'spark is a performance profiling plugin/mod for Minecraft clients, servers and proxies.'
    }

    java {
        toolchain {
            languageVersion = JavaLanguageVersion.of(8)
        }
    }

    tasks.withType(JavaCompile) {
        options.encoding = 'UTF-8'
    }

    processResources {
        duplicatesStrategy = DuplicatesStrategy.INCLUDE
    }

    repositories {
        mavenCentral()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
        maven { url "https://repo.lucko.me/" }
        maven { url "https://jitpack.io" }
    }

}