Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
importre committed May 24, 2017
1 parent 3ff1aff commit aaaa23d
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'maven-publish'

def _group = 'com.importre'
def _artifact = 'progress'
def _version = '0.0.2'
def _version = '0.1.0'
def _githubUrl = 'https://github.com/importre/progress'

group _group
Expand Down Expand Up @@ -65,22 +65,29 @@ subprojects { sub ->
}
}

dokka {
outputFormat = 'javadoc'
outputDirectory = "$buildDir/javadoc"
}

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

task javadocJar(type: Jar, dependsOn: 'dokka') {
classifier = 'javadoc'
from "$buildDir/dokka"
}

task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
outputFormat = 'javadoc'
}

publishing {
publications {
LibPublish(MavenPublication) {
from components.java
groupId _group
artifactId _artifact
version _version
artifact sourcesJar
artifact javadocJar
}
}
Expand Down

0 comments on commit aaaa23d

Please sign in to comment.