File tree Expand file tree Collapse file tree 2 files changed +52
-5
lines changed
LeanplumSample/Assets/Plugins/Android Expand file tree Collapse file tree 2 files changed +52
-5
lines changed Original file line number Diff line number Diff line change 1+ // GENERATED BY Leanplum.
2+ buildscript {
3+ repositories {
4+ jcenter()
5+ }
6+
7+ dependencies {
8+ classpath ' com.android.tools.build:gradle:2.3.1'
9+ }
10+ }
11+
12+ allprojects {
13+ repositories {
14+ flatDir {
15+ dirs ' libs'
16+ }
17+ }
18+ }
19+
20+ apply plugin : ' com.android.application'
21+
22+ dependencies {
23+ compile fileTree(dir : ' libs' , include : [' *.jar' ])
24+ }
25+
26+ android {
27+ compileSdkVersion 25
28+ buildToolsVersion ' 25.0.2'
29+
30+ defaultConfig {
31+ targetSdkVersion 25
32+ }
33+
34+ lintOptions {
35+ abortOnError false
36+ }
37+
38+ buildTypes {
39+ debug {
40+ jniDebuggable true
41+ }
42+ release {
43+ // Set minifyEnabled to true if you want to run ProGuard on your project
44+ minifyEnabled false
45+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-unity.txt'
46+
47+ }
48+ }
49+
50+ }
51+
Original file line number Diff line number Diff line change 55#
66set -eo pipefail; [[ $DEBUG ]] && set -x
77
8- # Copied from "$LPM_PLUGIN_PATH/_common/constants.sh"
9- UNITY_VERSION=1.4.2-SNAPSHOT
10-
11- # Copied from "$LPM_PLUGIN_PATH/_common/functions.sh"
128# ######################################
139# Downloads the iOS SDK from internal repository.
1410# Globals:
@@ -117,7 +113,7 @@ build() {
117113 PATH_TO_PROJECT=" $( pwd) /LeanplumSample"
118114
119115 OUT_DLL=" $PATH_TO_PROJECT /Assets/Standard Assets/Leanplum/LeanplumSDK.dll"
120- export OUT_PKG=" Leanplum_Unity-$UNITY_VERSION_STRING .unitypackage"
116+ export OUT_PKG=" Leanplum_Unity-${ UNITY_VERSION_STRING} .unitypackage"
121117
122118 # Compile dll and place into project.
123119 $PATH_TO_UNITY_ROOT /Contents/Mono/bin/gmcs -r:" $PATH_TO_UNITYENGINE " \
You can’t perform that action at this time.
0 commit comments