Skip to content

Commit

Permalink
Fix maven
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio Petek committed Oct 24, 2017
1 parent 456163a commit 9bf1eae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions library/build.gradle
@@ -1,5 +1,6 @@
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'groovy'
apply plugin: 'maven'

buildscript {
repositories {
Expand All @@ -13,6 +14,15 @@ buildscript {

group = 'com.github.rheinfabrik'

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

artifacts {
archives sourcesJar
}

repositories {
mavenCentral()
jcenter()
Expand Down

0 comments on commit 9bf1eae

Please sign in to comment.