-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathbuild.gradle
78 lines (62 loc) · 2.86 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//******************************************************************************
// SCICHART® Copyright SciChart Ltd. 2011-2022. All rights reserved.
//
// Web: http://www.scichart.com
// Support: support@scichart.com
// Sales: sales@scichart.com
//
// build.gradle is part of the SCICHART® Examples. Permission is hereby granted
// to modify, create derivative works, distribute and publish any part of this source
// code whether for commercial, private or personal use.
//
// The SCICHART® examples are distributed in the hope that they will be useful, but
// without any warranty. It is provided "AS IS" without warranty of any kind, either
// expressed or implied.
//******************************************************************************
apply plugin: 'java'
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
ext {
minSdkVersion = project.hasProperty('minSdkVersion') ? project.getProperty('minSdkVersion') : 19
compileSdkVersion = project.hasProperty('compileSdkVersion') ? project.getProperty('compileSdkVersion') : 33
buildToolsVersion = project.hasProperty('buildToolsVersion') ? project.getProperty('buildToolsVersion') : '33.0.2'
ndkVersion = project.hasProperty('ndkVersion') ? project.getProperty('ndkVersion') : '21.4.7075529'
androidxAnnotationVersion = project.hasProperty('androidxAnnotationVersion') ? project.getProperty('androidxAnnotationVersion') : '1.1.0'
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
junitVersion = '4.13'
junitTestRunnerVersion = '1.1.3'
testRunnerVersion = '1.4.0'
hamcrestVersion = '2.2'
mockitoVersion = '2.27.0'
robolectricVersion = '4.7.3'
androidTestCore = '1.1.0'
abiFiltersList = ['x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a']
sourceCompatibility = JavaVersion.VERSION_1_8
minifyEnabled = true
versionCode = project.hasProperty('versionCode') ? project.getProperty('versionCode').toInteger() : 1
versionName = project.hasProperty('versionName') ? project.getProperty('versionName') : "1.0"
documentationFolder = "${rootDir}/outputJavadoc/"
apiDocumentationFolder = "${rootDir}/outputApiDocs/"
availableProcessors = Runtime.runtime.availableProcessors()
}
allprojects {
repositories {
google()
mavenCentral()
}
}