forked from plusonelabs/calendar-widget
-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
55 lines (51 loc) · 1.68 KB
/
build.gradle
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
buildscript {
repositories {
mavenCentral()
google()
}
ext {
compileSdkVersion = 33 as int
buildToolsVersion = '34.0.0'
minSdkVersion = 24 as int
targetSdkVersion = 33 as int
// Lookup the latest here: https://mvnrepository.com/
annotationVersion = '1.0.1'
appCompatVersion = '1.6.1' // https://mvnrepository.com/artifact/androidx.appcompat/appcompat
espressoCoreVersion = '3.5.1'
jodaTimeVersion = '2.12.5' // https://github.com/JodaOrg/joda-time/releases
junitVersion = '4.13.2'
junitJupiterVersion = '5.8.2'
preferenceVersion = '1.2.1'
testRulesVersion = '1.5.0'
testRunnerVersion = '1.5.0'
kotlinVersion = '1.9.22'
ktxVersion = '1.10.1' // https://androidx.tech/artifacts/core/core-ktx/
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
// https://github.com/facebook/flipper/issues/146#issuecomment-463667556
configurations.configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == "androidx") {
if (!requested.name.startsWith("multidex")) {
details.useVersion "${targetSdkVersion}.+"
}
}
}
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
allprojects {
repositories {
mavenCentral()
google()
}
}