Skip to content

Commit

Permalink
added lib module
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Champigny committed Aug 16, 2016
1 parent 710514b commit 4f9efd9
Show file tree
Hide file tree
Showing 29 changed files with 201 additions and 117 deletions.
2 changes: 2 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/libraries/animated_vector_drawable_23_4_0.xml

This file was deleted.

13 changes: 13 additions & 0 deletions .idea/libraries/animated_vector_drawable_24_1_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions .idea/libraries/appcompat_v7_23_4_0.xml

This file was deleted.

17 changes: 17 additions & 0 deletions .idea/libraries/appcompat_v7_24_1_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions .idea/libraries/support_annotations_23_4_0.xml

This file was deleted.

11 changes: 11 additions & 0 deletions .idea/libraries/support_annotations_24_1_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions .idea/libraries/support_v4_23_4_0.xml

This file was deleted.

18 changes: 18 additions & 0 deletions .idea/libraries/support_v4_24_1_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/libraries/support_vector_drawable_23_4_0.xml

This file was deleted.

13 changes: 13 additions & 0 deletions .idea/libraries/support_vector_drawable_24_1_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile project(":tutoshowcase")
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import android.view.Menu;
import android.view.View;

import com.github.florent37.tutoshowcase.TutoShowcase;

public class MainActivity extends AppCompatActivity {

@Override
Expand All @@ -29,7 +31,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
}

protected void displayTuto() {
Tuto.from(this)
TutoShowcase.from(this)
.setContentView(R.layout.tuto_sample)

.on(R.id.about)
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':app'
include ':app', ':tutoshowcase'
1 change: 1 addition & 0 deletions tutoshowcase/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
25 changes: 25 additions & 0 deletions tutoshowcase/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 24
buildToolsVersion "24.0.1"

defaultConfig {
minSdkVersion 14
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
}
17 changes: 17 additions & 0 deletions tutoshowcase/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/f.champigny/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.example.tutoshowcase;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
1 change: 1 addition & 0 deletions tutoshowcase/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<manifest package="com.example.tutoshowcase"/>
Loading

0 comments on commit 4f9efd9

Please sign in to comment.