Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-organize project structure to use library project
- Loading branch information
Showing
169 changed files
with
177 additions
and
5,677 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,29 @@ | ||
ext.deps = [ | ||
android_gradle_plugin : 'com.android.tools.build:gradle:1.5.0', | ||
] | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
ext.minSdkVersion = 14 | ||
ext.compileSdkVersion = 23 | ||
ext.buildToolsVersion = '23.0.1' | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = '2.10' | ||
} | ||
|
||
subprojects { | ||
buildscript { | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
mavenCentral() | ||
jcenter() | ||
maven {url "https://clojars.org/repo/"} | ||
maven { url "https://jitpack.io" } | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
group = GROUP | ||
version = VERSION_NAME | ||
|
||
apply plugin: 'maven' | ||
|
||
afterEvaluate { project -> | ||
if (!(project.plugins.hasPlugin('com.android.application') || | ||
project.plugins.hasPlugin('com.android.library'))) { | ||
return | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.1.0' | ||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' | ||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
} | ||
|
||
android { | ||
lintOptions { | ||
quiet false | ||
textReport true | ||
textOutput 'stdout' | ||
} | ||
allprojects { | ||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
maven {url "https://clojars.org/repo/"} | ||
maven { url "https://jitpack.io" } | ||
} | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,27 @@ | ||
buildscript { | ||
dependencies { | ||
classpath deps.android_gradle_plugin | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
buildToolsVersion rootProject.ext.buildToolsVersion | ||
|
||
defaultConfig { | ||
applicationId "flow.sample.basic" | ||
|
||
minSdkVersion rootProject.ext.minSdkVersion | ||
versionName VERSION_NAME | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
compileSdkVersion 23 | ||
buildToolsVersion "23.0.2" | ||
|
||
defaultConfig { | ||
applicationId "flow.sample.basic" | ||
minSdkVersion 14 | ||
targetSdkVersion 23 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
packagingOptions { | ||
exclude 'LICENSE.txt' | ||
} | ||
} | ||
|
||
dependencies { | ||
compile project(':flow') | ||
compile 'com.android.support:appcompat-v7:23.1.1' | ||
compile 'com.android.support:design:23.1.1' | ||
androidTestCompile 'com.android.support.test:runner:0.4' | ||
androidTestCompile 'com.android.support.test:rules:0.4' | ||
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1' | ||
} | ||
|
||
//noinspection GroovyAssignabilityCheck | ||
configurations.all { | ||
resolutionStrategy { | ||
force 'com.android.support:support-annotations:23.1.1' | ||
} | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
testCompile 'junit:junit:4.12' | ||
compile 'com.android.support:appcompat-v7:23.4.0' | ||
compile project(':flow') | ||
} |
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
import com.android.builder.core.BuilderConstants; | ||
|
||
buildscript { | ||
dependencies { | ||
classpath deps.android_gradle_plugin | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
buildToolsVersion rootProject.ext.buildToolsVersion | ||
compileSdkVersion 23 | ||
buildToolsVersion "23.0.2" | ||
|
||
defaultConfig { | ||
minSdkVersion rootProject.ext.minSdkVersion | ||
versionName VERSION_NAME | ||
} | ||
defaultConfig { | ||
minSdkVersion 14 | ||
targetSdkVersion 23 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.android.support:support-annotations:23.1.1' | ||
testCompile 'junit:junit:4.10' | ||
testCompile 'org.assertj:assertj-core:1.7.1' | ||
testCompile 'org.mockito:mockito-core:1.10.19' | ||
testCompile 'org.robolectric:robolectric:3.0' | ||
testCompile 'org.apache.maven:maven-ant-tasks:2.1.3' | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
testCompile 'junit:junit:4.12' | ||
compile 'com.android.support:support-annotations:23.4.0' | ||
} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
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
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
5 changes: 0 additions & 5 deletions
5
flow/src/main/java/flow/preset/FlowContainerLifecycleListener.java
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures |
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
flowless-sample-master-detail/app/src/main/java/flow/ActivityUtils.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
flowless-sample-master-detail/app/src/main/java/flow/Bundleable.java
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
flowless-sample-master-detail/app/src/main/java/flow/ClassKey.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.