Skip to content

Commit

Permalink
Undo some Gradle configuration after ratpack#1639
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrengelman committed Apr 25, 2022
1 parent 375632f commit 012fa29
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 107 deletions.
3 changes: 0 additions & 3 deletions buildSrc/buildSrc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ sourceSets {
}
}

processResources {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
}
7 changes: 0 additions & 7 deletions gradle/versionFile.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,3 @@ sourceSets {
}
}
}

// Add implicit dependency due to https://github.com/gradle/gradle/issues/18563
//tasks.withType(Jar) { Jar task ->
// if (task.name == "sourcesJar") {
// task.from(tasks.named("writeVersionNumberFile"))
// }
//}
6 changes: 3 additions & 3 deletions ratpack-groovy/ratpack-groovy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ sourceSets {
}

// Add implicit dependency due to https://github.com/gradle/gradle/issues/18563
tasks.named("sourcesJar").configure {
it.from(tasks.named("processResources"))
}
//tasks.named("sourcesJar").configure {
// it.from(tasks.named("processResources"))
//}
3 changes: 1 addition & 2 deletions ratpack-manual/ratpack-manual.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ task api(type: Javadoc) {
configure(options) {
splitIndex true
use = true
links "http://docs.oracle.com/javase/8/docs/api/"
links "https://docs.oracle.com/javase/8/docs/api/"
windowTitle "Ratpack API ($project.version)"
docTitle "Ratpack API ($project.version)"
header = ext.additionalAssets
Expand Down Expand Up @@ -361,7 +361,6 @@ task stylizeManual(type: Sync) {
from(source)
}
}
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
}

task packageManual(type: Sync) {
Expand Down
Binary file removed ratpack-manual/src/assets/images/martini.png
Binary file not shown.
89 changes: 0 additions & 89 deletions ratpack-manual/src/assets/images/martini.svg

This file was deleted.

Binary file not shown.
Binary file removed ratpack-manual/src/assets/images/ratpack-logo.png
Binary file not shown.
2 changes: 0 additions & 2 deletions ratpack-site/ratpack-site.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ processTestResources.dependsOn writeTestConfig

processResources {
inputs.files configurations.latestManual
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
into "manual/" + version - "-SNAPSHOT", {
from { zipTree(configurations.latestManual.singleFile) }
}
Expand Down Expand Up @@ -321,7 +320,6 @@ distributions.main.contents {
distTar {
compression = Compression.GZIP
archiveVersion.set(null)
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
}

run.ext.set("ratpack.flattenClassloaders", true)
Expand Down
2 changes: 1 addition & 1 deletion ratpack-site/src/main/groovy/ratpack/site/SiteMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static void main(String... args) throws Exception {
//noinspection ConstantConditions
String host = ctx.getRequest().getHeaders().get("host");
if (host != null && (host.endsWith("ratpack-framework.org") || host.equals("www.ratpack.io"))) {
ctx.redirect(301, "http://ratpack.io" + ctx.getRequest().getRawUri());
ctx.redirect(301, "https://ratpack.io" + ctx.getRequest().getRawUri());
return;
}

Expand Down
Binary file removed ratpack-site/src/newrelic/agent.jar
Binary file not shown.
Binary file not shown.
Binary file removed ratpack-site/src/ratpack/public/favicon.ico
Binary file not shown.

0 comments on commit 012fa29

Please sign in to comment.