-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
33 lines (28 loc) · 1.3 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
def ndkVersionProp = properties.getProperty('ndk.version')
def targetsString = properties.getProperty('ndk.targets')
def targetsProp = targetsString == null ? null : new ArrayList<>(Arrays.asList(targetsString.split(",")))
def DEFAULT_NDK_VERSION = '25.1.8937393'
def DEFAULT_NDK_TARGETS = ["arm", "x86", "arm64", "x86_64"]
ext {
compileSdkVersion = 34
minSdkVersion = 24
targetSdkVersion = 34
ndkVersion = ndkVersionProp == null ? DEFAULT_NDK_VERSION : ndkVersionProp
rustNdkTargets = targetsProp == null ? DEFAULT_NDK_TARGETS : targetsProp
navVersion = '2.7.4'
composeVersion = '1.4.3'
kotlinxVersion = '1.6.4'
tesseractVersion = '0.5.6'
}
}
plugins {
id 'com.android.application' version '8.1.2' apply false
id 'com.android.library' version '8.1.2' apply false
id 'org.jetbrains.kotlin.jvm' version '1.8.10' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id "org.mozilla.rust-android-gradle.rust-android" version "0.9.3" apply false
}