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

Release 0.2.13 #98

Merged
merged 1 commit into from
Sep 1, 2023
Merged
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 0.2.13 - 2023-09-01

- Extend pitest test runtime classpath [#95](https://github.com/koral--/gradle-pitest-plugin/issue/95)
- Update dependency versions

# 0.2.12 - 2022-11-29

- Integrate upstream changes dc804a7d61f059d1eecd6744dd7526edbcaf4e8c
Expand Down
36 changes: 14 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import org.gradle.api.internal.classpath.ModuleRegistry
import org.gradle.api.internal.project.ProjectInternal

plugins {
id 'com.github.ben-manes.versions' version '0.44.0'
id 'com.github.ben-manes.versions' version '0.47.0'
id 'groovy'
id 'maven-publish'
id 'codenarc'
id 'signing'
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '0.20.0'
id 'com.vanniktech.maven.publish' version '0.18.0'
id 'com.gradle.plugin-publish' version '1.2.1'
id 'com.vanniktech.maven.publish' version '0.25.3'
}

sourceCompatibility = 1.8
Expand Down Expand Up @@ -39,13 +39,13 @@ dependencies {
testImplementation('org.spockframework:spock-junit4:2.3-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
testImplementation 'net.bytebuddy:byte-buddy:1.12.19' //for Spying in Spock
testImplementation 'net.bytebuddy:byte-buddy:1.14.7' //for Spying in Spock

funcTestImplementation sourceSets.main.output
//to make production plugin classes visible in functional tests (it's not in testImplementation configuration)
funcTestImplementation configurations.testImplementation
funcTestRuntimeOnly configurations.testRuntimeOnly
funcTestImplementation('com.netflix.nebula:nebula-test:10.3.0') {
funcTestImplementation('com.netflix.nebula:nebula-test:10.5.0') {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
def toolingApiBuildersJar = (project as ProjectInternal).services.get(ModuleRegistry.class)
Expand All @@ -56,7 +56,7 @@ dependencies {
testRuntimeOnly(files(toolingApiBuildersJar))
}

task funcTest(type: Test) {
tasks.register('funcTest', Test) {
description = 'Run the functional tests.'
group = 'Verification'
testClassesDirs = sourceSets.funcTest.output.classesDirs
Expand All @@ -72,7 +72,7 @@ check.shouldRunAfter funcTest
check.dependsOn funcTestClasses //or more generically: tasks.withType(AbstractCompile)
publishPlugins.dependsOn funcTest, check

task testReport(type: TestReport) {
tasks.register('testReport', TestReport) {
destinationDir = file("$buildDir/reports/allTests")
reportOn test, funcTest
}
Expand Down Expand Up @@ -123,31 +123,23 @@ tasks.withType(CodeNarc) { codeNarcTask ->
})
}

pluginBundle {
gradlePlugin {
website = POM_URL
vcsUrl = POM_URL
tags = ['pitest', 'android', 'mutation testing']
description = POM_DESCRIPTION
version = VERSION_NAME
group = GROUP

plugins {
pitest {
id = 'pl.droidsonroids.pitest'
displayName = POM_NAME
}
}
}

gradlePlugin {
testSourceSets sourceSets.funcTest
plugins {
pitest {
id = 'pl.droidsonroids.pitest'
implementationClass = 'pl.droidsonroids.gradle.pitest.PitestPlugin'
tags.addAll('pitest', 'android', 'mutation testing')
displayName = POM_NAME
description = POM_DESCRIPTION
version = VERSION_NAME
group = GROUP
}
pitestAggregator {
id = 'pl.droidsonroids.pitest.aggregator'
tags.addAll('pitest', 'android', 'mutation testing')
implementationClass = 'pl.droidsonroids.gradle.pitest.PitestAggregatorPlugin'
displayName = 'Android Gradle pitest aggregator plugin'
}
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.2.12
VERSION_NAME=0.2.13
GROUP=pl.droidsonroids.gradle
POM_DESCRIPTION=Gradle plugin for PIT Mutation Testing in Android projects
POM_URL=https://github.com/koral--/gradle-pitest-plugin
Expand All @@ -13,6 +13,6 @@ POM_LICENCE_URL=https://www.apache.org/licenses/LICENSE-2.0

POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=koral--
POM_DEVELOPER_NAME=Karol Wrótniak
POM_DEVELOPER_NAME=Karol Wr�tniak

POM_ARTIFACT_ID=gradle-pitest-plugin
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists