forked from F43nd1r/rhino-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (60 loc) · 1.89 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
apply plugin: 'com.android.library'
ext {
bintrayRepo = 'maven'
bintrayName = 'rhino-android'
publishedGroupId = 'com.faendir.rhino'
libraryName = 'rhino-android'
artifact = 'rhino-android'
libraryDescription = 'Allows to use rhino on android'
siteUrl = 'https://github.com/F43nd1r/Scriptlib'
gitUrl = 'https://github.com/F43nd1r/Scriptlib.git'
libraryVersion = "1.4"
developerId = 'f43nd1r'
developerName = 'Lukas Morawietz'
developerEmail = '[email protected]'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
android {
compileSdkVersion 24
buildToolsVersion "25.0.0"
defaultConfig {
minSdkVersion 8
targetSdkVersion 24
versionCode 4
versionName libraryVersion
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}
}
configurations {
javadocDeps
javadocDeps.extendsFrom compile
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'org.mozilla:rhino:1.7.7.1'
compile 'com.android.support:support-annotations:24.2.0'
compile 'net.lingala.zip4j:zip4j:1.3.2'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test:rules:0.5'
androidTestCompile 'org.yaml:snakeyaml:1.16'
androidTestCompile ('com.google.caliper:caliper:1.0-beta-2'){
exclude group:'asm', module:'asm'
}
}
apply from: 'installv1.gradle'
apply from: 'bintrayv1.gradle'
/* how to upload: [terminal]
* gradlew install
* gradlew bintrayUpload
*/