-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathbuild.gradle
56 lines (49 loc) · 1.36 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
buildscript {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
}
}
// END
apply plugin: 'com.android.library'
apply plugin: 'maven'
def _ext = rootProject.ext;
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 26;
def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : '26.0.3';
def _minSdkVersion = _ext.has('minSdkVersion') ? _ext.minSdkVersion : 16;
def _targetSdkVersion = _ext.has('targetSdkVersion') ? _ext.targetSdkVersion : 26;
android {
compileSdkVersion _compileSdkVersion
buildToolsVersion _buildToolsVersion
defaultConfig {
minSdkVersion _minSdkVersion
targetSdkVersion _targetSdkVersion
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
}
}
android.packagingOptions {
exclude 'META-INF/LICENSE'
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
// END
dependencies {
compile 'com.facebook.react:react-native:+'
compile 'com.github.scribejava:scribejava-apis:3.4.1'
compile 'com.github.delight-im:Android-AdvancedWebView:v3.0.0'
compile 'com.google.code.gson:gson:+'
}