diff --git a/kndroidx/build.gradle.kts b/kndroidx/build.gradle.kts index 8e6e1bb..86b0451 100644 --- a/kndroidx/build.gradle.kts +++ b/kndroidx/build.gradle.kts @@ -29,6 +29,9 @@ publishing { // 发布配置 } } } + repositories { + mavenLocal() + } } @@ -38,7 +41,6 @@ android { defaultConfig { namespace = "io.github.kndroidx" minSdk = 21 - targetSdk = 34 } buildTypes { diff --git a/settings.gradle.kts b/settings.gradle.kts index 66b148f..f1a1708 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -3,6 +3,7 @@ pluginManagement { google() mavenCentral() gradlePluginPortal() + maven("https://jitpack.io") } } dependencyResolutionManagement { @@ -10,6 +11,7 @@ dependencyResolutionManagement { repositories { google() mavenCentral() + maven("https://jitpack.io") } }