Skip to content

Commit

Permalink
Merge pull request #15 from Fueled/kotlin
Browse files Browse the repository at this point in the history
Initial V2 Release
  • Loading branch information
Hussein Aladeen authored Mar 12, 2019
2 parents 6793789 + 82a3ea8 commit 6bf1c28
Show file tree
Hide file tree
Showing 57 changed files with 1,850 additions and 1,241 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: android
jdk: oraclejdk8

android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28

# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository

script: ./gradlew clean spotlessCheck testDebugUnitTestCoverage

sudo: false

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
17 changes: 10 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
compileSdkVersion compileSdk
buildToolsVersion buildTools

defaultConfig {
applicationId appId
minSdkVersion minSdk
targetSdkVersion targetSdk
versionCode 1
versionName "1.0"

vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
Expand All @@ -20,12 +22,13 @@ android {
}

dependencies {
compile project(':reclaim')

compile fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':reclaim')

testCompile testLibraries.junit
implementation libraries.appCompat
implementation libraries.designSupport
implementation libraries.recyclerView
implementation libraries.liveData
implementation libraries.kotlinStdLib

compile libraries.appCompat
compile libraries.recyclerView
testImplementation testLibraries.junit
}
18 changes: 9 additions & 9 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.fueled.reclaim.samples"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.fueled.reclaim.samples">

<application
android:allowBackup="true"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".hearder.HearderFooterActivity"/>
<activity android:name=".handler.ItemPresenterActivity"/>
</application>

</manifest>
</manifest>
13 changes: 0 additions & 13 deletions app/src/main/java/com/fueled/reclaim/samples/ExampleType.java

This file was deleted.

76 changes: 0 additions & 76 deletions app/src/main/java/com/fueled/reclaim/samples/MainActivity.java

This file was deleted.

57 changes: 0 additions & 57 deletions app/src/main/java/com/fueled/reclaim/samples/PlanetItem.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6bf1c28

Please sign in to comment.