summaryrefslogtreecommitdiff
path: root/build.gradle
blob: 881d4e1ad73b08a8461614ed6c8db45d1f5e6519 (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
apply plugin: "java"

configurations.all {
    // Check for updates every build
    resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}

repositories {
    jcenter()
    maven { url "https://jitpack.io" }

    maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}

dependencies {
    implementation "com.github.RedstonerServer:ModuleLoader:v5.2.2"
    implementation "com.github.RedstonerServer:CommandManager:v1"
    implementation "com.github.RedstonerServer:ChatAPI:v1"

    compileOnly 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
}

sourceSets {
    main {
        resources {
            srcDir 'src/main/java'
            include '**/*.cmd'
            include '**/module.info'
        }
    }
}