xgouchet / Elmyr

A utility to make Kotlin/Java tests random yet reproducible
Other
82 stars 2 forks source link

Make source code available as a JAR #14

Closed vitusortner closed 5 years ago

vitusortner commented 5 years ago

Have you thought about making the project available as a JAR, to make the source code visible in an IDE, after downloading the package?

Adding this to the build.gradle does the trick:

task packageSources(type: Jar, dependsOn: 'classes') {
    from sourceSets.main.allSource
    classifier = 'sources'
}

artifacts { archives packageSources }