Created
April 20, 2018 07:07
-
-
Save akbarsha03/549116467252574a097e76e7d921bbc1 to your computer and use it in GitHub Desktop.
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
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.3.0' | |
} | |
} | |
allprojects { | |
repositories { | |
flatDir { | |
dirs 'libs' | |
} | |
maven { | |
// All of React Native (JS, Android binaries) is installed from npm | |
url "E:/experimentRepo/reactRepo/sampleReactApp/node_modules/react-native/android" | |
} | |
} | |
} | |
apply plugin: 'com.android.application' | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile(name:'reactmodule-debug', ext:'aar') | |
**DEPS**} | |
android { | |
compileSdkVersion **APIVERSION** | |
buildToolsVersion '**BUILDTOOLS**' | |
defaultConfig { | |
targetSdkVersion **TARGETSDKVERSION** | |
applicationId '**APPLICATIONID**' | |
} | |
lintOptions { | |
abortOnError false | |
} | |
aaptOptions { | |
noCompress '.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS** | |
} | |
**SIGN** | |
buildTypes { | |
debug { | |
minifyEnabled **MINIFY_DEBUG** | |
useProguard **PROGUARD_DEBUG** | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD** | |
jniDebuggable true | |
} | |
release { | |
minifyEnabled **MINIFY_RELEASE** | |
useProguard **PROGUARD_RELEASE** | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD** | |
**SIGNCONFIG** | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment