diff --git a/build.gradle b/build.gradle index fbbf47ff..b625b226 100644 --- a/build.gradle +++ b/build.gradle @@ -39,17 +39,6 @@ jacocoTestCoverageVerification { } } } -configurations.all { - resolutionStrategy { - componentSelection { - all { ComponentSelection selection -> - if (selection.candidate.version =~ /(?i).*[.-](alpha|beta|rc|m)[.\d-]*/) { - selection.reject("Pre-release versions are not allowed") - } - } - } - } -} repositories { mavenCentral() @@ -64,7 +53,7 @@ dependencies { implementation 'com.google.code.gson:gson:2.12.1' implementation 'org.json:json:20250107' // https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5 - api 'com.squareup.okhttp3:okhttp:[4.10.0,5.0.0)' + api 'com.squareup.okhttp3:okhttp:4.12.0' // Use JUnit test framework testImplementation(platform('org.junit:junit-bom:5.11.4'))