diff --git a/build-logic/checks/src/main/kotlin/convention.legal-documents.gradle.kts b/build-logic/checks/src/main/kotlin/convention.legal-documents.gradle.kts index be1af7df7..4b4302407 100644 --- a/build-logic/checks/src/main/kotlin/convention.legal-documents.gradle.kts +++ b/build-logic/checks/src/main/kotlin/convention.legal-documents.gradle.kts @@ -9,7 +9,7 @@ tasks.register("checkLegalDocuments") { "Legal document doesn't contain module name (${project.name}). Document path: $file" } - val kaspressoVersion = project.property("kaspresso.snapshotVersion").toString().split("-SNAPSHOT").first() + val kaspressoVersion = project.property("kaspresso.version").toString() require(firstLine.contains(kaspressoVersion)) { "Failed to check whether the existing NOTICE.txt was made for the current release ($kaspressoVersion)" } diff --git a/gradle.properties b/gradle.properties index 6a169eab5..d0f357f66 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,5 +6,4 @@ kotlin.code.style=official android.useAndroidX = true -kaspresso.version=1.5.3 -kaspresso.snapshotVersion=1.5.3-SNAPSHOT \ No newline at end of file +kaspresso.version=1.5.3 \ No newline at end of file