Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ java {
withSourcesJar()
}

tasks.withType(Javadoc) {
tasks.withType(Javadoc).configureEach {
// the title includes the version of the API
title = "http-nio $version API"

Expand Down Expand Up @@ -83,7 +83,7 @@ tasks.withType(Javadoc) {
}

// test task
tasks.withType(Test) {
tasks.withType(Test).configureEach {

// tests could be always re-run
outputs.upToDateWhen { false }
Expand Down Expand Up @@ -117,7 +117,7 @@ tasks.withType(Test) {
}

// for jar tasks
tasks.withType(Jar) {
tasks.withType(Jar).configureEach {
// add license
from(rootProject.projectDir) {
include "LICENSE.txt"
Expand Down