Commit 4ca76f10 authored by Lukas's avatar Lukas

added proguard to the build

parent c7f624b8
......@@ -30,9 +30,10 @@ android {
}
debug {
debuggable true
minifyEnabled false // No proguard for faster dev builds
minifyEnabled true
applicationIdSuffix ".debug"
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
debuggable true
}
}
......@@ -51,7 +52,7 @@ kapt {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation("com.tickaroo:sdk:3.0.0-12")
implementation("com.tickaroo:sdk:3.0.0-32")
}
......@@ -23,3 +23,6 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
# Workaround for ProGuard not recognizing dontobfuscate
# https://speakerdeck.com/chalup/proguard
\ No newline at end of file
......@@ -10,6 +10,7 @@
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Design.Light.NoActionBar"
android:supportsRtl="true">
<activity android:name="com.tickaroo.sdkandroiddemo.SampleActivity">
......
......@@ -29,7 +29,7 @@ class SampleActivity : Activity() {
init_owner.setOnClickListener {
try {
TickarooEmbedManager(this, "Tickaroo Sample", resources.getString(R.string.client_id),
RefreshAuto, ScoreboardImageModeOwner, SampleDelegate(), "www.tickaroo.com")
RefreshAuto, ScoreboardImageModeOwner, SampleDelegate(), "staging.tickaroo.com")
pre_init.visibility = GONE
post_init.visibility = VISIBLE
} catch (e: IllegalStateException) {
......
......@@ -25,6 +25,15 @@
android:orientation="vertical"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:id="@+id/test_ticker_container"
>
</LinearLayout>
<TextView
android:id="@+id/init_owner"
android:layout_width="match_parent"
......
......@@ -19,6 +19,7 @@ buildscript {
maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" }
maven { url "https://mvn.tickaroo.com" }
google()
mavenLocal()
}
dependencies {
......@@ -37,7 +38,8 @@ allprojects {
maven { url "https://jitpack.io" }
maven { url 'https://maven.fabric.io/public' }
jcenter()
google()
google()
mavenLocal()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment