-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
1,710 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,117 @@ | ||
### Android ### | ||
# Built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# Files for the ART/Dalvik VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# Generated files | ||
bin/ | ||
gen/ | ||
out/ | ||
|
||
# Gradle files | ||
.gradle/ | ||
build/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
keystore.properties | ||
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
|
||
# Log Files | ||
*.log | ||
|
||
# Android Studio Navigation editor temp files | ||
.navigation/ | ||
|
||
# Android Studio captures folder | ||
captures/ | ||
|
||
# Intellij | ||
*.iml | ||
.idea/ | ||
|
||
# Keystore files | ||
#*.jks | ||
|
||
# External native build folder generated in Android Studio 2.2 and later | ||
.externalNativeBuild | ||
|
||
# Google Services (e.g. APIs or Firebase) | ||
google-services.json | ||
|
||
# Freeline | ||
freeline.py | ||
freeline/ | ||
freeline_project_description.json | ||
|
||
### Android Patch ### | ||
gen-external-apklibs | ||
|
||
### Intellij ### | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff: | ||
.idea/**/workspace.xml | ||
.idea/**/tasks.xml | ||
|
||
# Sensitive or high-churn files: | ||
.idea/**/dataSources/ | ||
.idea/**/dataSources.ids | ||
.idea/**/dataSources.xml | ||
.idea/**/dataSources.local.xml | ||
.idea/**/sqlDataSources.xml | ||
.idea/**/dynamic.xml | ||
.idea/**/uiDesigner.xml | ||
|
||
# Gradle: | ||
.idea/**/gradle.xml | ||
.idea/**/libraries | ||
|
||
# CMake | ||
cmake-build-debug/ | ||
|
||
# Mongo Explorer plugin: | ||
.idea/**/mongoSettings.xml | ||
|
||
## File-based project format: | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Cursive Clojure plugin | ||
.idea/replstate.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
### Intellij Patch ### | ||
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 | ||
|
||
# *.iml | ||
# modules.xml | ||
# .idea/misc.xml | ||
# *.ipr | ||
|
||
# Sonarlint plugin | ||
.idea/sonarlint |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
buildscript { | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.3.3' | ||
classpath 'pt.simdea.verifier:verifier:3.5.7SNAP3' | ||
classpath 'com.novoda:bintray-release:0.5.0' | ||
|
||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
|
||
} | ||
|
||
allprojects { | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
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 |
---|---|---|
@@ -0,0 +1,108 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'com.novoda.bintray-release' | ||
apply plugin: 'pt.simdea.verifier' | ||
apply from: "$project.rootDir/tools/script-check.gradle" | ||
|
||
android { | ||
defaultPublishConfig 'release' | ||
publishNonDefault true | ||
resourcePrefix project.RESOURCE_PREFIX | ||
|
||
compileSdkVersion project.COMPILE_SDK_VERSION.toInteger() | ||
buildToolsVersion project.BUILD_TOOLS_VERSION | ||
|
||
defaultConfig { | ||
minSdkVersion project.MIN_SDK_VERSION | ||
targetSdkVersion project.TARGET_SDK_VERSION.toInteger() | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
debuggable true | ||
zipAlignEnabled true | ||
minifyEnabled true | ||
shrinkResources true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), | ||
"$project.rootDir/tools/rules-proguard-debug.pro" | ||
} | ||
|
||
release { | ||
debuggable false | ||
zipAlignEnabled true | ||
minifyEnabled true | ||
shrinkResources true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), "$project.rootDir/tools/rules-proguard.pro" | ||
} | ||
} | ||
|
||
packagingOptions { | ||
exclude 'LICENSE.txt' | ||
exclude 'META-INF/LICENSE.txt' | ||
exclude 'META-INF/NOTICE.txt' | ||
exclude 'META-INF/ASL2.0' | ||
exclude 'META-INF/LICENSE' | ||
exclude 'META-INF/NOTICE' | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
|
||
/* Google */ | ||
compile "com.android.support:appcompat-v7:$project.supportLibraryVersion" | ||
compile "com.android.support:recyclerview-v7:$project.supportLibraryVersion" | ||
|
||
/* Lombok */ | ||
provided "org.projectlombok:lombok:$project.lombokVersion" | ||
} | ||
|
||
project.ext { | ||
plugin = 'pt.simdea.gmlrva.lib' | ||
name = 'gmlrva' | ||
description = 'Generic RecyclerView Adapter that supports multiple layouts.' | ||
groupId = 'pt.simdea.gmlrva.lib' | ||
artifactId = 'gmlrva.lib' | ||
version = "1.0" | ||
website = 'https://github.com/simdea/gmlrva' | ||
scm = 'https://github.com/simdea/gmlrva' | ||
tags = ['android', 'recyclerview', 'adapter', 'generic', 'multiple', 'layout'] | ||
pom = { | ||
licenses { | ||
license { | ||
name 'The MIT License (MIT)' | ||
url 'https://opensource.org/licenses/MIT' | ||
distribution 'repo' | ||
} | ||
} | ||
scm { | ||
url project.ext.scm | ||
connection 'scm:git@github.com:simdea/gmlrva.git' | ||
developerConnection 'scm:git@github.com:simdea/gmlrva.git' | ||
} | ||
issueManagement { | ||
system 'GitHub' | ||
url "${project.ext.scm}/issues" | ||
} | ||
developers { | ||
developer { | ||
name 'Simdea' | ||
url 'https://www.simdea.pt' | ||
roles { | ||
role 'developer' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
publish { | ||
userOrg = 'simdea' | ||
groupId = project.ext.groupId | ||
artifactId = project.ext.artifactId | ||
publishVersion = project.ext.version | ||
repoName = 'GMLRVA' | ||
repository = project.ext.scm | ||
issueTracker = "${project.ext.scm}/issues" | ||
website = project.ext.website | ||
licences = ['MIT'] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="pt.simdea.gmlrva.lib"> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:label="@string/app_name" | ||
android:supportsRtl="true"/> | ||
|
||
</manifest> |
Oops, something went wrong.