From bde5932f1127b4bd79fc1aed0c7dad88b3ccc3b3 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Fri, 23 Feb 2024 16:25:38 +0300 Subject: [PATCH] Build quality gates update --- build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle b/build.gradle index e5188b9..5e53083 100644 --- a/build.gradle +++ b/build.gradle @@ -20,8 +20,19 @@ apply from: "${project.scripts_url}/${project.scripts_branch}/release-commons.gr apply from: "${project.scripts_url}/${project.scripts_branch}/signing.gradle" apply from: "${project.scripts_url}/${project.scripts_branch}/jacoco.gradle" +project.ext.limits = [ + 'instruction': 70, + 'branch' : 53, + 'line' : 70, + 'complexity' : 60, + 'method' : 65, + 'class' : 90 +] + sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 +compileJava.options.encoding = 'UTF-8' +compileTestJava.options.encoding = 'UTF-8' repositories { mavenCentral()