Closed 542604974 closed 2 years ago
buildscript { ext.kotlin_version = '1.3.61' repositories { jcenter() google() mavenCentral() //tpns接入 maven { url 'http://developer.huawei.com/repo/' } maven { url 'https://jitpack.io' } } dependencies { classpath 'com.android.tools.build:gradle:4.2.1' //tpns集成插件 classpath "com.tencent.android.tpns:tpnsplugin:1.8.0"
classpath 'com.huawei.agconnect:agcp:1.6.0.300' // 华为推送 gradle 插件依赖
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// 支持kotlin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects { repositories { flatDir { dirs project(':app').file('libs') } jcenter() google() mavenCentral() maven { url 'http://developer.huawei.com/repo/' } // 华为仓,如果不集成华为可以不加 maven { url 'https://jitpack.io' } } }
task clean(type: Delete) { delete rootProject.buildDir }
You're using a wrong version tag name.
Please check the Readme.
implementation 'com.github.Dimezis:BlurView:version-2.0.0'
You're using a wrong version tag name.
Please check the Readme.
implementation 'com.github.Dimezis:BlurView:version-2.0.0'
I tried, but I still reported a mistake
Here's the build on jitpack, you can see it's there - https://jitpack.io/#Dimezis/BlurView/version-2.0.0
maven { url 'https://jitpack.io/' }
and the version tag
implementation 'com.github.Dimezis:BlurView:version-2.0.0'
works properly.
If it doesn't work for you, you made a mistake somewhere
It would be interesting to add these informations to the README.md file ! Should I create a PR with this change ?
@freeboub the readme has a link to Jitpack which has these instructions on the main page. The instructions are also the same for every library, so I don't think it's necessary to repeat them in the readme
@freeboub the readme has a link to Jitpack which has these instructions on the main page. The instructions are also the same for every library, so I don't think it's necessary to repeat them in the readme
Ok, it is effectivelly in README, I don't kown which do I watched ... Sorry for the disturbing !
Could not determine the dependencies of task ':app:compileDebugKotlin'.
Possible solution: