diff --git a/build.gradle.kts b/build.gradle.kts index fd4b881..c6d0a0f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,22 @@ plugins { id("com.android.application") version "9.2.1" apply false } + +buildscript { + configurations.classpath { + resolutionStrategy { + force( + "org.bouncycastle:bcprov-jdk18on:1.84", + "org.bouncycastle:bcpkix-jdk18on:1.84", + "io.netty:netty-codec-http2:4.1.132.Final", + "io.netty:netty-codec-http:4.1.132.Final", + "io.netty:netty-codec:4.1.125.Final", + "io.netty:netty-common:4.1.118.Final", + "io.netty:netty-handler:4.1.118.Final", + "org.bitbucket.b_c:jose4j:0.9.6", + "org.jdom:jdom2:2.0.6.1", + "org.apache.httpcomponents:httpclient:4.5.14", + ) + } + } +} diff --git a/settings.gradle.kts b/settings.gradle.kts index 23cf474..0c629db 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -5,6 +5,7 @@ pluginManagement { gradlePluginPortal() } } + dependencyResolutionManagement { this.repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { @@ -15,4 +16,4 @@ dependencyResolutionManagement { rootProject.name = "ProgrammingTools" include(":app") - \ No newline at end of file +