Skip to content

Commit

Permalink
cleanup, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Joey Harward committed Jul 27, 2020
1 parent f6efbf0 commit cf1bd36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Then add the following dependency to your module's build.gradle
```gradle
dependencies {
...
implementation "com.metallicus:protonsdk:0.5.1"
implementation "com.metallicus:protonsdk:0.5.2"
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ orchid {
githubToken = gradleLocalProperties(rootDir).getProperty("github.token")
}

tasks.register("cleanProton").configure {
tasks.register("cleanAll").configure {
delete("build", "buildSrc/build", "protonsdk/build")
}
6 changes: 4 additions & 2 deletions protonsdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ dependencies {

// Dokka
tasks {
// Dokka Task
val dokka by getting(DokkaTask::class) {
outputFormat = "html"
outputDirectory = "$buildDir/dokka"
Expand Down Expand Up @@ -129,10 +130,12 @@ tasks {
}
}

// publishing depends on build
withType<PublishToMavenLocal> {
dependsOn(assemble)
dependsOn(build)
}

// uploading to Bintray depends on publications
withType<BintrayUploadTask> {
dependsOn(publishToMavenLocal)
}
Expand Down Expand Up @@ -257,7 +260,6 @@ afterEvaluate {
bintray {
user = gradleLocalProperties(rootDir).getProperty("bintray.user")
key = gradleLocalProperties(rootDir).getProperty("bintray.apikey")
publish = true

setPublications(Publishing.Publications.release)

Expand Down

0 comments on commit cf1bd36

Please sign in to comment.