Skip to content

Commit 05d73fe

Browse files
committed
Initial commit
0 parents  commit 05d73fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1379
-0
lines changed

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/libraries
5+
/.idea/modules.xml
6+
/.idea/workspace.xml
7+
.DS_Store
8+
/build
9+
/captures
10+
.externalNativeBuild

.idea/caches/build_file_checksums.ser

534 Bytes
Binary file not shown.

.idea/codeStyles/Project.xml

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
apply plugin: 'kotlin-android-extensions'
4+
5+
android {
6+
compileSdkVersion 27
7+
defaultConfig {
8+
applicationId "me.noro.hackthetruck"
9+
minSdkVersion 19
10+
targetSdkVersion 27
11+
versionCode 1
12+
versionName "1.0.0"
13+
setProperty("archivesBaseName", "hackthetruck-v$versionName-build_$versionCode")
14+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15+
vectorDrawables.useSupportLibrary = true
16+
}
17+
buildTypes {
18+
release {
19+
debuggable false
20+
minifyEnabled true
21+
shrinkResources true
22+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23+
}
24+
debug {
25+
debuggable true
26+
minifyEnabled true
27+
shrinkResources true
28+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
29+
}
30+
}
31+
testOptions {
32+
unitTests.returnDefaultValues = true
33+
}
34+
}
35+
36+
repositories {
37+
flatDir {
38+
dirs 'libs'
39+
}
40+
}
41+
42+
dependencies {
43+
implementation fileTree(dir: 'libs', include: ['*.jar'])
44+
implementation(name:'HERE-sdk', ext:'aar')
45+
implementation(name:'watson', ext:'aar')
46+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
47+
implementation 'com.google.code.gson:gson:2.8.2'
48+
implementation 'org.locationtech.jts:jts-core:1.15.0'
49+
implementation 'com.android.support:support-v4:27.1.1'
50+
implementation 'com.android.support:support-annotations:28.0.0'
51+
implementation 'com.android.support:appcompat-v7:27.1.1'
52+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
53+
testImplementation "junit:junit:4.12"
54+
testImplementation "org.mockito:mockito-core:$mockito_version"
55+
testImplementation "org.mockito:mockito-inline:$mockito_version"
56+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
57+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
58+
implementation 'com.google.android.gms:play-services-maps:16.0.0'
59+
implementation 'com.ibm.watson.developer_cloud:android-sdk:0.5.0'
60+
implementation 'com.ibm.watson.developer_cloud:java-sdk:6.9.3'
61+
}

app/libs/HERE-sdk.aar

2.03 MB
Binary file not shown.

app/libs/fleetboard-sdk-release.jar

118 KB
Binary file not shown.

app/libs/watson.aar

3.83 MB
Binary file not shown.

app/proguard-rules.pro

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
22+
23+
# If you want to enable optimization, you should include the
24+
# following:
25+
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
26+
-optimizationpasses 5
27+
-allowaccessmodification

app/src/main/AndroidManifest.xml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="me.noro.hackthetruck">
4+
5+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
6+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
7+
<uses-permission android:name="android.permission.INTERNET"/>
8+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
9+
10+
<application
11+
android:allowBackup="true"
12+
android:icon="@mipmap/ic_launcher"
13+
android:label="@string/app_name"
14+
android:supportsRtl="true"
15+
android:theme="@style/AppTheme">
16+
<activity android:name=".MainActivity">
17+
<intent-filter>
18+
<action android:name="android.intent.action.MAIN" />
19+
20+
<category android:name="android.intent.category.LAUNCHER" />
21+
</intent-filter>
22+
</activity>
23+
<meta-data
24+
android:name="com.here.android.maps.appid"
25+
android:value="AFr68Hl2CuQ8BBpzCBkA" />
26+
<meta-data
27+
android:name="com.here.android.maps.apptoken"
28+
android:value="ndBDAPx5EkliDQmO10FqmQ" />
29+
</application>
30+
31+
32+
33+
</manifest>

0 commit comments

Comments
 (0)