From 7aa1e33bf0e3b1a2b7b28e41e44475113e4611a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp=20=28TWiStErRob=29?= Date: Mon, 6 May 2024 12:34:44 +0100 Subject: [PATCH] Remove versioning workaround https://github.com/TWiStErRob/net.twisterrob.gradle/issues/511 is already fixed --- .../groovy/net.twisterrob.blt.convention.gradle | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gradle/plugins/src/main/groovy/net.twisterrob.blt.convention.gradle b/gradle/plugins/src/main/groovy/net.twisterrob.blt.convention.gradle index 677ffad6..0a365293 100644 --- a/gradle/plugins/src/main/groovy/net.twisterrob.blt.convention.gradle +++ b/gradle/plugins/src/main/groovy/net.twisterrob.blt.convention.gradle @@ -39,16 +39,3 @@ pluginManager.withPlugin("com.android.lint") { enable += "StopShip" } } - -if (project.gradle.startParameter.isConfigurationCacheRequested()) { - // TODEL https://github.com/TWiStErRob/net.twisterrob.gradle/issues/511 - project.plugins.withId("com.android.application") { - project.VCS.setCurrent$twister_convention_versioning(new net.twisterrob.gradle.vcs.VCSExtension() { - @Override boolean isAvailableQuick() { return false } - @Override boolean isAvailable() { return isAvailableQuick() } - @Override String getRevision() { return "no VCS" } - @Override int getRevisionNumber() { return 0 } - @Override FileCollection files(Project project) { return project.files() } - }) - } -}