-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathbuild.gradle
More file actions
73 lines (63 loc) · 1.98 KB
/
build.gradle
File metadata and controls
73 lines (63 loc) · 1.98 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
buildscript {
repositories {
google()
gradlePluginPortal()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath "com.android.tools.build:gradle:8.11.0"
}
}
repositories {
google()
gradlePluginPortal()
}
apply plugin: "com.android.library"
apply plugin: "com.github.ben-manes.versions"
apply plugin: "com.github.ManifestClasspath"
android {
namespace 'com.microsoft.graph'
compileSdkVersion 36
defaultConfig {
versionCode 1
versionName "1.0"
minSdkVersion 26
targetSdkVersion 36
}
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
textOutput "stdout"
checkAllWarnings true
warningsAsErrors true
disable "UnusedResources" // Unused will be removed on release
disable "IconExpectedSize" // Using the material icons provided from Google
disable "GoogleAppIndexingApiWarning" // We might want to index our app later
disable "InvalidPackage" // Butterknife, Okio and Realm
disable "ResourceType" // Annotation binding
disable "GradleDependency"
disable "NewerVersionAvailable"
disable "KotlinPropertyAccess" // getting false positives because of odata actions & functions (getOrder setOrder)
}
sourceSets {
main {
java.srcDirs = ['../src/main/java']
res.srcDirs = ['../src/main/java']
manifest.srcFile 'AndroidManifest.xml'
}
androidTest {
setRoot '../src/test'
}
}
}
apply from: "../gradle/dependencies.gradle"