aboutsummaryrefslogtreecommitdiff
path: root/spark-sponge/build.gradle
blob: 1a40cd90cddf5bb13b3f69c23e53c9c976498893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
plugins {
    id 'net.kyori.blossom' version '1.1.0'
}

dependencies {
    compile project(':spark-common')
    compile('net.kyori:adventure-platform-spongeapi:4.0.0-SNAPSHOT') {
        exclude(module: 'adventure-api')
        exclude(module: 'adventure-text-serializer-gson')
    }
    compileOnly 'org.spongepowered:spongeapi:7.3.0'
    annotationProcessor 'org.spongepowered:spongeapi:7.3.0'
}

repositories {
    maven { url "https://repo.spongepowered.org/maven" }
}

blossom {
    replaceTokenIn('src/main/java/me/lucko/spark/sponge/SpongeSparkPlugin.java')
    replaceToken '@version@', project.pluginVersion
    replaceToken '@desc@', project.pluginDescription
}