diff --git a/build.gradle.kts b/build.gradle.kts index 3264b63..8409712 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,6 @@ import java.io.FileInputStream import java.net.URL import java.util.Properties - plugins { kotlin("jvm") version "1.2.50" `build-scan` @@ -113,16 +112,10 @@ tasks { mustRunAfter("clean") } - val gitRefreshIndex by creating(Exec::class) { - description = "Refreshes the git index." - commandLine("git", "update-index", "--refresh").isIgnoreExitValue = true - } - val gitIsDirty by creating(Exec::class) { description = "Fails if git has uncommitted changes." group = "verification" - dependsOn(gitRefreshIndex) - commandLine("git", "diff-index", "--quiet", "HEAD", "--") + commandLine("git", "diff", "--quiet", "--exit-code") } val gitTag by creating(Exec::class) { diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index f9442f4..0000000 --- a/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -enableFeaturePreview('STABLE_PUBLISHING') \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..d479fe3 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1 @@ +enableFeaturePreview("STABLE_PUBLISHING")