Last active
May 16, 2016 06:57
-
-
Save oksep/4ee92ef701cc33310d685a90f2307cc7 to your computer and use it in GitHub Desktop.
AndroidStudio JNI-support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.model.application' | |
apply plugin: 'idea' | |
model { | |
android { | |
compileSdkVersion = 23 | |
buildToolsVersion = "23.0.2" | |
defaultConfig.with { | |
applicationId = "cn.septenary.keepdebug" | |
minSdkVersion.apiLevel = 14 | |
targetSdkVersion.apiLevel = 23 | |
} | |
} | |
android.lintOptions { | |
abortOnError = false | |
} | |
android.ndk { | |
moduleName = "roprop" | |
ldLibs.add("android") | |
ldLibs.add("log") | |
} | |
android.productFlavors { | |
create("all") | |
} | |
} | |
dependencies { | |
compile fileTree(include: ['*.jar'], dir: 'libs') | |
compile 'com.android.support:appcompat-v7:23.2.0' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle-experimental:0.7.0-alpha4' | |
} | |
} | |
allprojects { | |
repositories { | |
jcenter() | |
} | |
} | |
task clean(type: Delete) { | |
delete rootProject.buildDir | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Mon Dec 07 14:26:27 CST 2015 | |
distributionBase=GRADLE_USER_HOME | |
distributionPath=wrapper/dists | |
zipStoreBase=GRADLE_USER_HOME | |
zipStorePath=wrapper/dists | |
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment