Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #68 error when setting logging level in Gradle 7.x #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#

group = org.jbake
version = 5.5.0
version = 5.5.1

pluginId = org.jbake.site
pluginDisplayName = JBake Gradle Plugin
Expand Down
2 changes: 0 additions & 2 deletions src/main/groovy/org/jbake/gradle/JBakeServeTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package org.jbake.gradle

import org.gradle.api.DefaultTask
import org.gradle.api.artifacts.Configuration
import org.gradle.api.logging.LogLevel
import org.gradle.api.tasks.Classpath
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.InputDirectory
Expand All @@ -46,7 +45,6 @@ class JBakeServeTask extends DefaultTask {

@TaskAction
void serve() {
logging.level = LogLevel.INFO
createJettyServer()
jettyServer.prepare()
println("Starting server. Browse to http://localhost:${getPort()}")
Expand Down
5 changes: 3 additions & 2 deletions src/test/groovy/org/jbake/gradle/JbakeIntegrationSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
@Unroll
class JbakeIntegrationSpec extends PluginIntegrationSpec {
@Shared
String latestGradleVersion = '7.0.2'
String latestGradleVersion = '8.0.1'

@Shared
String latestJbakeVersion = '2.6.7'
Expand Down Expand Up @@ -75,7 +75,8 @@ class JbakeIntegrationSpec extends PluginIntegrationSpec {
where:
version | jdk9Compatible | jdk14Compatible
'5.6.4' | true | false // latest 5.x version
'6.8.3' | true | true // latest 6.x version
'6.9.4' | true | true // latest 6.x version
'7.6' | true | true // latest 7.x version
latestGradleVersion | true | true // latest release, deprecations & warnings
}

Expand Down