~phroa/intercart

ref: 97d6f632e71531ec3f856d8147d0550daa504900 intercart/build.gradle -rw-r--r-- 917 bytes
97d6f632Jack Stratton Remove copyPlugin task 9 months ago
                                                                                
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
44
45
import org.apache.tools.ant.filters.ReplaceTokens

apply plugin: 'java'

group = 'net.phroa'
version = '1.0-SNAPSHOT'

sourceCompatibility = '1.14'
targetCompatibility = '1.14'

tasks.withType(Jar) {
    destinationDirectory = file('server/plugins')
}

repositories {
    mavenCentral()
    maven {
        name = 'papermc-repo'
        url = 'https://papermc.io/repo/repository/maven-public/'
    }
    maven {
        name = 'sonatype'
        url = 'https://oss.sonatype.org/content/groups/public/'
    }
}

dependencies {
    compile 'com.destroystokyo.paper:paper-api:1.16.4-R0.1-SNAPSHOT'
    testCompile 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}

processResources {
    from(sourceSets.main.resources.srcDirs) {
        filter ReplaceTokens, tokens: [version: version]
    }
}

test {
    testLogging {
        exceptionFormat = "full"
        showStandardStreams = true
    }

    useJUnitPlatform()
}