forked from horizontalsystems/unstoppable-wallet-android
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
95 lines (84 loc) · 2.67 KB
/
build.gradle
File metadata and controls
95 lines (84 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// Top-level build file where you can add configuration options common to all sub-projects/cash.p.terminal.modules.
buildscript {
ext {
compile_sdk_version = 35
min_sdk_version = 27
lifecycle_version = '2.8.7'
compose_version = '1.7.6'
kotlin_version = '2.2.10'
material_version = "1.12.0"
appcompat_version = "1.7.0"
constraint_version = "2.2.0"
core_ktx_version = "1.15.0"
fragment_ktx_version = "1.8.5"
navigation_ktx_version = "2.8.4"
rxjava_version = "2.2.19"
biometric_version = "1.1.0"
junit_version = "4.13.2"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath libs.gradle
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath(libs.androidx.navigation.safe.args.gradle.plugin)
classpath libs.google.services
classpath libs.firebase.crashlytics.gradle
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
id 'com.google.devtools.ksp' version '2.3.2' apply false
alias(libs.plugins.jetbrains.kotlin.jvm) apply false
id 'io.gitlab.arturbosch.detekt' version '1.23.8'
}
subprojects {
apply plugin: 'io.gitlab.arturbosch.detekt'
detekt {
buildUponDefaultConfig = true
config.setFrom("$rootDir/config/detekt/detekt.yml")
baseline = file("detekt-baseline.xml")
parallel = true
}
dependencies {
detektPlugins "io.nlopez.compose.rules:detekt:0.4.22"
}
}
allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
maven { url "https://jitpack.io" }
if (!project.hasProperty('fdroid')) {
maven {
url = uri("https://piratecash.github.io/monero-kit-android")
content {
includeGroup("com.github.piratecash")
}
}
maven {
url = uri("https://piratecash.github.io/ethereum-kit-android")
content {
includeGroup("com.github.piratecash")
}
}
}
}
}
gradle.projectsEvaluated {
subprojects.each { project ->
project.tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
compilerOptions {
freeCompilerArgs.add("-Xannotation-default-target=param-property")
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}