mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 01:24:03 +03:00
Update build files to latest DSL
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
f9502462c7
commit
2f17706323
2 changed files with 7 additions and 7 deletions
|
@ -158,7 +158,7 @@ ext {
|
||||||
media3_version = "1.2.0"
|
media3_version = "1.2.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.configureEach {
|
||||||
exclude group: 'com.google.firebase', module: 'firebase-core'
|
exclude group: 'com.google.firebase', module: 'firebase-core'
|
||||||
exclude group: 'com.google.firebase', module: 'firebase-analytics'
|
exclude group: 'com.google.firebase', module: 'firebase-analytics'
|
||||||
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
|
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
|
||||||
|
@ -315,7 +315,7 @@ dependencies {
|
||||||
implementation 'com.github.nextcloud-deps:android-talk-webrtc:110.5481.0'
|
implementation 'com.github.nextcloud-deps:android-talk-webrtc:110.5481.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
task installGitHooks(type: Copy, group: "development") {
|
tasks.register('installGitHooks', Copy) {
|
||||||
description = "Install git hooks"
|
description = "Install git hooks"
|
||||||
from("../scripts/hooks") {
|
from("../scripts/hooks") {
|
||||||
include '*'
|
include '*'
|
||||||
|
@ -329,7 +329,7 @@ spotbugs {
|
||||||
reportLevel = Confidence.valueOf('MEDIUM')
|
reportLevel = Confidence.valueOf('MEDIUM')
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(SpotBugsTask) { task ->
|
tasks.withType(SpotBugsTask).configureEach { task ->
|
||||||
String variantNameCap = task.name.replace("spotbugs", "")
|
String variantNameCap = task.name.replace("spotbugs", "")
|
||||||
String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
|
String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
|
||||||
|
|
||||||
|
@ -360,6 +360,6 @@ tasks.named("detekt").configure {
|
||||||
}
|
}
|
||||||
|
|
||||||
detekt {
|
detekt {
|
||||||
config = files("../detekt.yml")
|
config.setFrom("../detekt.yml")
|
||||||
input = files("src/")
|
source.setFrom("src/")
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.configureEach {
|
||||||
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
|
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
|
||||||
// check for updates every build
|
// check for updates every build
|
||||||
resolutionStrategy.cacheChangingModulesFor 3600, 'seconds'
|
resolutionStrategy.cacheChangingModulesFor 3600, 'seconds'
|
||||||
|
@ -61,6 +61,6 @@ allprojects {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean(type: Delete) {
|
tasks.register('clean', Delete) {
|
||||||
delete rootProject.buildDir
|
delete rootProject.buildDir
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue