56 lines
1.6 KiB
Groovy
56 lines
1.6 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.2"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 23
|
|
targetSdkVersion 25
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
/*externalNativeBuild {
|
|
cmake {
|
|
cppFlags "-std=c++11"
|
|
}
|
|
}*/
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
/*externalNativeBuild {
|
|
cmake {
|
|
path "CMakeLists.txt"
|
|
}
|
|
}*/
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven { url "https://jitpack.io" } // for iirj
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
compile 'com.android.support:appcompat-v7:25.3.0'
|
|
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile 'org.jfree:jfreechart:1.0.19'
|
|
//compile group: 'uk.me.berndporr', name:'iirj', version: '1.0'
|
|
compile 'com.github.berndporr:iirj:v1.0.4'
|
|
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
|
|
testCompile 'org.jfree:jcommon:1.0.24'
|
|
testCompile 'org.json:json:20160810'
|
|
testCompile files('/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar') // for JFreeChart on PC, need javax.swing etc.
|
|
}
|