summaryrefslogtreecommitdiff
path: root/enigma-cli/build.gradle
blob: 5b84196e1353844ed86d3e0893ebcf97ab6e8ed2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
plugins {
    id 'application'
    id 'com.github.johnrengelman.shadow' version '7.0.0'
}

dependencies {
    implementation project(':enigma')
}

mainClassName = 'cuchaz.enigma.command.Main'

jar.manifest.attributes 'Main-Class': mainClassName

publishing {
    publications {
        shadow(MavenPublication) { publication ->
            project.shadow.component publication
        }
    }
}