Skip to content
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A Gradle plugin that detects changes in the current branch and runs only the uni
```groovy
// build.gradle
plugins {
id 'io.affectedtests' version '1.8.0'
id 'io.affectedtests' version '1.9.0'
}
```

Expand Down
24 changes: 23 additions & 1 deletion affected-tests-gradle/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '2.0.0'
id 'com.gradle.plugin-publish' version '2.1.1'
id 'com.gradleup.shadow' version '9.3.1'
}

Expand Down Expand Up @@ -80,6 +80,28 @@ publishing {
publications {
pluginMaven(MavenPublication) {
artifactId = 'affected-tests-gradle'
pom {
name = 'Affected Tests Gradle Plugin'
description = 'Detects changes in the current branch and runs only the tests relevant to those changes.'
url = 'https://github.com/vedanthvdev/affected-tests'
licenses {
license {
name = 'Apache License 2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0'
}
}
developers {
developer {
id = 'vedanthvdev'
name = 'Vedanth Vasudev'
url = 'https://github.com/vedanthvdev'
}
}
scm {
url = 'https://github.com/vedanthvdev/affected-tests'
connection = 'scm:git:https://github.com/vedanthvdev/affected-tests.git'
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
*/
public abstract class AffectedTestTask extends DefaultTask {

public AffectedTestTask() {
notCompatibleWithConfigurationCache("Reads live git state and scans the file system at execution time");
}

/**
* Git base ref to diff against.
*
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

allprojects {
group = 'io.affectedtests'
version = '1.8.0'
version = '1.9.0'

repositories {
mavenCentral()
Expand Down