Skip to content

Commit

Permalink
Added distribution plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Feb 5, 2016
1 parent 525ed11 commit 5627b31
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.gradle
Expand Up @@ -13,6 +13,7 @@ apply plugin: 'osgi'
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'pl.allegro.tech.build.axion-release'
apply plugin: 'distribution'

repositories {
mavenCentral()
Expand Down Expand Up @@ -110,5 +111,17 @@ uploadArchives {
}
}
}

distributions {
main {
contents {
from { ['README.md', 'LICENSE', 'AUTHORS', 'CHANGELOG', 'build/docs', 'build/libs']}
}
}
}

distTar {
compression = Compression.GZIP
}
}

0 comments on commit 5627b31

Please sign in to comment.