Updated dependency & trying to fix build issue in gitlab CI
This commit is contained in:
parent
f028e26e82
commit
a221e1fdbb
2 changed files with 8 additions and 4 deletions
|
@ -47,10 +47,14 @@ task getGitVersion() {
|
|||
project.version = gitVersion
|
||||
}
|
||||
|
||||
configurations {
|
||||
customImplementation
|
||||
implementation.extendsFrom(customImplementation)
|
||||
}
|
||||
|
||||
task linphoneSdkSource() {
|
||||
doLast {
|
||||
configurations.implementation.canBeResolved = true
|
||||
configurations.implementation.getIncoming().each {
|
||||
configurations.customImplementation.getIncoming().each {
|
||||
it.getResolutionResult().allComponents.each {
|
||||
if (it.id.getDisplayName().contains("linphone-sdk-android")) {
|
||||
println 'Linphone SDK used is ' + it.moduleVersion.version + ' from ' + it.properties["repositoryName"]
|
||||
|
@ -65,7 +69,7 @@ project.tasks['preBuild'].dependsOn 'linphoneSdkSource'
|
|||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion '30.0.2'
|
||||
buildToolsVersion '30.0.3'
|
||||
defaultConfig {
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
|
|
|
@ -12,7 +12,7 @@ buildscript {
|
|||
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:4.1.1'
|
||||
classpath 'com.android.tools.build:gradle:4.1.2'
|
||||
classpath 'com.google.gms:google-services:4.3.4'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.1.1"
|
||||
|
|
Loading…
Reference in a new issue