Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
add sources to bintray release
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusAmshove committed Feb 8, 2016
1 parent b854289 commit 8649756
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
*.ipr
*.iws
build/
.gradle/
.gradle/
out/
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}

group 'org.amshove.kluent'
version '1.1'
version '1.0'

apply plugin: 'kotlin'
apply plugin: 'idea'
Expand All @@ -38,10 +38,20 @@ sourceSets {
test.kotlin.srcDirs += 'src/test/kotlin'
}

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

artifacts {
archives sourcesJar
}

bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ['PublishKluent']
configurations = ['archives']
pkg {
repo = "maven"
name = "Kluent"
Expand Down

0 comments on commit 8649756

Please sign in to comment.