Skip to content
Permalink
Browse files

Basic project structure

  • Loading branch information...
petrnohejl committed Dec 11, 2016
1 parent 16087d2 commit 6bbc951566672b7416225bd323be6333079b25e3
Showing with 1,183 additions and 0 deletions.
  1. +59 −0 .gitignore
  2. +76 −0 alfonz-adapter/build.gradle
  3. +17 −0 alfonz-adapter/proguard-rules.pro
  4. +1 −0 alfonz-adapter/src/main/AndroidManifest.xml
  5. +76 −0 alfonz-mvvm/build.gradle
  6. +17 −0 alfonz-mvvm/proguard-rules.pro
  7. +1 −0 alfonz-mvvm/src/main/AndroidManifest.xml
  8. +76 −0 alfonz-rest/build.gradle
  9. +17 −0 alfonz-rest/proguard-rules.pro
  10. +1 −0 alfonz-rest/src/main/AndroidManifest.xml
  11. +76 −0 alfonz-rx/build.gradle
  12. +17 −0 alfonz-rx/proguard-rules.pro
  13. +1 −0 alfonz-rx/src/main/AndroidManifest.xml
  14. +76 −0 alfonz-ui/build.gradle
  15. +17 −0 alfonz-ui/proguard-rules.pro
  16. +1 −0 alfonz-ui/src/main/AndroidManifest.xml
  17. +76 −0 alfonz-utility/build.gradle
  18. +17 −0 alfonz-utility/proguard-rules.pro
  19. +1 −0 alfonz-utility/src/main/AndroidManifest.xml
  20. +60 −0 bintray.gradle
  21. +27 −0 build.gradle
  22. BIN extras/graphics/avatar.gif
  23. +17 −0 gradle.properties
  24. BIN gradle/wrapper/gradle-wrapper.jar
  25. +6 −0 gradle/wrapper/gradle-wrapper.properties
  26. +160 −0 gradlew
  27. +90 −0 gradlew.bat
  28. +41 −0 install.gradle
  29. +55 −0 samples/build.gradle
  30. +17 −0 samples/proguard-rules.pro
  31. +30 −0 samples/src/main/AndroidManifest.xml
  32. +22 −0 samples/src/main/java/org/alfonz/samples/SamplesApplication.java
  33. +17 −0 samples/src/main/java/org/alfonz/samples/activity/MainActivity.java
  34. +13 −0 samples/src/main/res/layout/activity_main.xml
  35. BIN samples/src/main/res/mipmap-hdpi/ic_launcher.png
  36. BIN samples/src/main/res/mipmap-mdpi/ic_launcher.png
  37. BIN samples/src/main/res/mipmap-xhdpi/ic_launcher.png
  38. BIN samples/src/main/res/mipmap-xxhdpi/ic_launcher.png
  39. BIN samples/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  40. +4 −0 samples/src/main/res/values/strings.xml
  41. +1 −0 settings.gradle
@@ -0,0 +1,59 @@
# Built application files
*.apk
*.ap_

# Files for the Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Ant
build.xml

# Maven
target/
pom.xml.*
release.properties

# Eclipse
.classpath
.project
.externalToolBuilders/

# IntelliJ
*.iml
*.ipr
*.iws
.idea/
/out/

# Android Studio
.navigation/
captures/

# Mac
.DS_Store

# Crashlytics
crashlytics.properties
crashlytics-build.properties
com_crashlytics_export_strings.xml

# Fabric
fabric.properties
@@ -0,0 +1,76 @@
final VERSION_MAJOR = 0 // max two digits
final VERSION_MINOR = 0 // max two digits
final VERSION_PATCH = 1 // max two digits
final VERSION_BUILD = 0 // max three digits

apply plugin: "com.android.library"

ext
{
bintrayRepo = "maven"
bintrayName = "alfonz-adapter"

publishedGroupId = "org.alfonz"
libraryName = "Alfonz-Adapter"
artifact = "adapter"

libraryDescription = "Mr. Alfonz is here to help you build your Android app, make a development process easier and avoid boilerplate code."

siteUrl = "https://github.com/petrnohejl/Alfonz"
gitUrl = "https://github.com/petrnohejl/Alfonz.git"

libraryVersion = "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"

developerId = "alfonz"
developerName = "Alfonz"
developerEmail = ""

licenseName = "The Apache Software License, Version 2.0"
licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0.txt"
allLicenses = ["Apache-2.0"]
}

dependencies
{
compile "com.android.support:support-compat:25.0.1"
compile "com.android.support:support-core-utils:25.0.1"
compile "com.android.support:support-core-ui:25.0.1"
compile "com.android.support:support-fragment:25.0.1"
compile "com.android.support:appcompat-v7:25.0.1"
compile "com.android.support:recyclerview-v7:25.0.1"
compile "com.android.support:support-annotations:25.0.1"
compile "com.android.support:design:25.0.1"
compile fileTree(dir: "libs", include: ["*.jar"])
}

android
{
compileSdkVersion 25
buildToolsVersion "25.0.1"

defaultConfig
{
minSdkVersion 16
targetSdkVersion 25
versionCode VERSION_MAJOR * 10000000 + VERSION_MINOR * 100000 + VERSION_PATCH * 1000 + VERSION_BUILD
versionName "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
}

buildTypes
{
release
{
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}

compileOptions
{
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}

apply from: "../install.gradle"
apply from: "../bintray.gradle"
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\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 *;
#}
@@ -0,0 +1 @@
<manifest package="org.alfonz.adapter" />
@@ -0,0 +1,76 @@
final VERSION_MAJOR = 0 // max two digits
final VERSION_MINOR = 0 // max two digits
final VERSION_PATCH = 1 // max two digits
final VERSION_BUILD = 0 // max three digits

apply plugin: "com.android.library"

ext
{
bintrayRepo = "maven"
bintrayName = "alfonz-mvvm"

publishedGroupId = "org.alfonz"
libraryName = "Alfonz-Mvvm"
artifact = "mvvm"

libraryDescription = "Mr. Alfonz is here to help you build your Android app, make a development process easier and avoid boilerplate code."

siteUrl = "https://github.com/petrnohejl/Alfonz"
gitUrl = "https://github.com/petrnohejl/Alfonz.git"

libraryVersion = "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"

developerId = "alfonz"
developerName = "Alfonz"
developerEmail = ""

licenseName = "The Apache Software License, Version 2.0"
licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0.txt"
allLicenses = ["Apache-2.0"]
}

dependencies
{
compile "com.android.support:support-compat:25.0.1"
compile "com.android.support:support-core-utils:25.0.1"
compile "com.android.support:support-core-ui:25.0.1"
compile "com.android.support:support-fragment:25.0.1"
compile "com.android.support:appcompat-v7:25.0.1"
compile "com.android.support:recyclerview-v7:25.0.1"
compile "com.android.support:support-annotations:25.0.1"
compile "com.android.support:design:25.0.1"
compile fileTree(dir: "libs", include: ["*.jar"])
}

android
{
compileSdkVersion 25
buildToolsVersion "25.0.1"

defaultConfig
{
minSdkVersion 16
targetSdkVersion 25
versionCode VERSION_MAJOR * 10000000 + VERSION_MINOR * 100000 + VERSION_PATCH * 1000 + VERSION_BUILD
versionName "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
}

buildTypes
{
release
{
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}

compileOptions
{
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}

apply from: "../install.gradle"
apply from: "../bintray.gradle"
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\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 *;
#}
@@ -0,0 +1 @@
<manifest package="org.alfonz.mvvm" />
@@ -0,0 +1,76 @@
final VERSION_MAJOR = 0 // max two digits
final VERSION_MINOR = 0 // max two digits
final VERSION_PATCH = 1 // max two digits
final VERSION_BUILD = 0 // max three digits

apply plugin: "com.android.library"

ext
{
bintrayRepo = "maven"
bintrayName = "alfonz-rest"

publishedGroupId = "org.alfonz"
libraryName = "Alfonz-Rest"
artifact = "rest"

libraryDescription = "Mr. Alfonz is here to help you build your Android app, make a development process easier and avoid boilerplate code."

siteUrl = "https://github.com/petrnohejl/Alfonz"
gitUrl = "https://github.com/petrnohejl/Alfonz.git"

libraryVersion = "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"

developerId = "alfonz"
developerName = "Alfonz"
developerEmail = ""

licenseName = "The Apache Software License, Version 2.0"
licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0.txt"
allLicenses = ["Apache-2.0"]
}

dependencies
{
compile "com.android.support:support-compat:25.0.1"
compile "com.android.support:support-core-utils:25.0.1"
compile "com.android.support:support-core-ui:25.0.1"
compile "com.android.support:support-fragment:25.0.1"
compile "com.android.support:appcompat-v7:25.0.1"
compile "com.android.support:recyclerview-v7:25.0.1"
compile "com.android.support:support-annotations:25.0.1"
compile "com.android.support:design:25.0.1"
compile fileTree(dir: "libs", include: ["*.jar"])
}

android
{
compileSdkVersion 25
buildToolsVersion "25.0.1"

defaultConfig
{
minSdkVersion 16
targetSdkVersion 25
versionCode VERSION_MAJOR * 10000000 + VERSION_MINOR * 100000 + VERSION_PATCH * 1000 + VERSION_BUILD
versionName "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
}

buildTypes
{
release
{
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}

compileOptions
{
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}

apply from: "../install.gradle"
apply from: "../bintray.gradle"
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\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 *;
#}
@@ -0,0 +1 @@
<manifest package="org.alfonz.rest" />
Oops, something went wrong.

0 comments on commit 6bbc951

Please sign in to comment.
You can’t perform that action at this time.