-
Notifications
You must be signed in to change notification settings - Fork 54
/
build.gradle
36 lines (33 loc) · 1.19 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
apply from: 'project.gradle'
buildscript {
ext.kotlin_version = '1.9.22'
ext.isCIBuild = findProperty("orion.CIBuild")?.toBoolean() ?: false
repositories {
mavenCentral()
google()
}
dependencies {
//Don't upgrade AGP until https://issuetracker.google.com/issues/302826300 and https://issuetracker.google.com/issues/350946989
classpath 'com.android.tools.build:gradle:8.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
google()
}
}
project.ext {
isAndroid40Build = project.findProperty("orion.build.android40")?.toBoolean() ?: false
orionMinSdk = !isAndroid40Build ? 16 : 14
orionTargetSdk = 34
orionCompileSdk = 34
orionBuildToolsVersion = "34.0.0"
enableAnalytics = !isAndroid40Build && file("orion-viewer/google-services.json").exists()
orionNdkVersion = !isAndroid40Build ? "23.2.8568313" : "17.2.4988734"
testFiles = ['http://www.djvu.org/docs/DjVu3Spec.djvu']
}