Skip to content
This repository has been archived by the owner on Jul 10, 2018. It is now read-only.

Commit

Permalink
sonatype stingyness - sources jar proerly named and gpg sigining
Browse files Browse the repository at this point in the history
  • Loading branch information
shemnon committed Apr 4, 2011
1 parent 8c52569 commit 80dc32f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'de.huxhorn.gradle:de.huxhorn.gradle.pgp-plugin:0.0.3'
}
}


apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'sign'
apply plugin: de.huxhorn.gradle.pgp.PgpPlugin

group = "com.github.insubstantial"
version = "6.2"
Expand Down Expand Up @@ -142,7 +154,7 @@ task distroJar(type: Jar) {
task sourceJar(type: Jar) {
from sourceSets.main.java
from sourceSets.main.resources
classifier = 'src'
classifier = 'sources'
}

task javadocJar(type: Jar) {
Expand Down

0 comments on commit 80dc32f

Please sign in to comment.