Skip to content
Draft
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bjoern{
```
**Info:** You need a gradle version > 7.6.2 because there is a bug with jackson dependencies, which are needed to use this project. https://github.com/gradle/gradle/issues/24390

Gradle 8 is currently not supported.
Gradle 8 is now supported.

### Available Tasks

Expand Down
2 changes: 1 addition & 1 deletion bjoern-sample/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
17 changes: 7 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ dependencies {
implementation 'com.squareup:javapoet:1.13.0'
implementation 'org.freemarker:freemarker:2.3.32'
implementation 'junit:junit:4.13.2'
implementation 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
implementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.16.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'

testImplementation 'org.assertj:assertj-core:3.25.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

}

Expand All @@ -38,26 +39,22 @@ test {
}


pluginBundle {
gradlePlugin {
website = 'https://github.com/Mehtrick/bjoern'
vcsUrl = 'https://github.com/Mehtrick/bjoern'
tags = ['java', 'test', 'junit5', 'bjoern', 'bdd']
}


gradlePlugin {
plugins {
bjoern {
id = 'de.mehtrick.bjoern.gradle-plugin'
displayName = 'Bjoern Gradle Plugin'
implementationClass = 'de.mehtrick.bjoern.gradle.BjoernPlugin'
description = 'Bjoern is a universal bdd test generater (and a person). The main focus is to generate java-classes from bdd-style text files to ensure synchronisation between the specification and the code.'
tags = ['java', 'test', 'junit5', 'bjoern', 'bdd']
}
}
}

jar {
archivesBaseName = "bjoern-gradle-plugin"
version = System.getenv("RELEASE_VERSION")
archiveBaseName = "bjoern-gradle-plugin"
archiveVersion = System.getenv("RELEASE_VERSION")
}

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package bjoernplugin.de.mehtrick.bjoern.gradle;

import org.gradle.internal.impldep.org.junit.Rule;
import org.gradle.internal.impldep.org.junit.rules.TemporaryFolder;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import java.nio.file.Path;

public class BjoernGradleTest {
@Rule
public final TemporaryFolder testProjectDir = new TemporaryFolder();
@TempDir
Path testProjectDir;

@Test
public void test() throws Exception {
Expand Down
Loading