【发布时间】:2021-10-23 01:31:13
【问题描述】:
我想使用需要 jitpack.io 存储库的依赖项
尝试同步时找不到依赖项,但在 jitpack.io 上可用
语言科特林
我的 gradle 插件版本是 7.0.1
我的 gradle 版本是 7.0.2
一切都更新了
依赖
implementation 'com.github.delight-im:Android-AdvancedWebView:v3.2.1'
存储库
buildscript {
repositories {
google()
mavenCentral()
maven{
url 'https://jitpack.io/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"
// NOTE: Do not place your application dependencies here;
they belong
// in the individual module build.gradle files
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
构建输出
Could not find com.github.delight-im:Android-AdvancedWebView:v3.2.1.
我测试了所有版本的 Independence
【问题讨论】:
-
您是否尝试将其与 VPN 一起使用?
标签: android maven gradle dependencies jitpack