-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
46 lines (37 loc) · 1.02 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
buildscript {
repositories {
repositories.mavenCentral()
/* setup your own artifactory, or put into /lib*/
maven { url 'http://localhost:7070/artifactory/repo' }
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}
apply plugin: 'com.android.application'
repositories {
/* setup your own artifactory, or put into /lib */
maven { url 'http://localhost:7070/artifactory/repo' }
}
dependencies {
/* downloaded from http://www.starasia.com/tsp650driverdownload.asp, then place it in your own artifactory*/
compile 'com.starmicronics.stario:stario:3.10'
}
android {
buildToolsVersion "20"
compileSdkVersion 19
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
sourceSets {
main {
assets.srcDirs = ['assets']
}
androidTest.setRoot('src/test')
}
}