Gradle Shadow Fat/Uber Jar Plugin

From NovaOrdis Knowledge Base
Revision as of 03:37, 15 December 2020 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

plugins {
    id 'java'
    id 'com.github.johnrengelman.shadow' version '6.1.0'
}

...

shadowJar {
    archiveBaseName.set('something')
    zip64 true
    manifest {
        attributes 'Main-Class': 'myPackage.MyClass'
    }
}