-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup project and add Firebase analytics
- Loading branch information
Showing
21 changed files
with
753 additions
and
122 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
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 |
---|---|---|
@@ -0,0 +1,123 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module external.linked.project.id="android" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="android-gradle" name="Android-Gradle"> | ||
<configuration> | ||
<option name="GRADLE_PROJECT_PATH" value=":" /> | ||
</configuration> | ||
</facet> | ||
<facet type="android" name="Android"> | ||
<configuration> | ||
<option name="SELECTED_BUILD_VARIANT" value="debug" /> | ||
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" /> | ||
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" /> | ||
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" /> | ||
<afterSyncTasks> | ||
<task>generateDebugSources</task> | ||
</afterSyncTasks> | ||
<option name="ALLOW_USER_CONFIGURATION" value="false" /> | ||
<option name="RES_FOLDER_RELATIVE_PATH" value="/../../../../Qt/5.6/android_armv7/src/android/java/res" /> | ||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$USER_HOME$/Qt/5.6/android_armv7/src/android/java/res;file://$MODULE_DIR$/res" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false"> | ||
<output url="file://$MODULE_DIR$/.build/intermediates/classes/debug" /> | ||
<output-test url="file://$MODULE_DIR$/.build/intermediates/classes/test/debug" /> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/r/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/aidl/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/buildConfig/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/rs/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/res/google-services/debug" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/res/rs/debug" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/res/generated/debug" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/r/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/res/rs/androidTest/debug" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/.build/generated/res/generated/androidTest/debug" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/res" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/resources" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/assets" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/aidl" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/java" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/jni" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/rs" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/res" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/assets" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/aidl" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/jni" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/assets" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/classes" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/dependency-cache" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/dex" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/incremental" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/manifests" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/mockable-android-24.jar" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/pre-dexed" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/res" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/resources" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/rs" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/symbols" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/intermediates/tmp" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/outputs" /> | ||
<excludeFolder url="file://$MODULE_DIR$/.build/tmp" /> | ||
</content> | ||
<content url="file://$USER_HOME$/Qt/5.6/android_armv7/src/android/java/res"> | ||
<sourceFolder url="file://$USER_HOME$/Qt/5.6/android_armv7/src/android/java/res" type="java-resource" /> | ||
</content> | ||
<content url="file://$USER_HOME$/Qt/5.6/android_armv7/src/android/java/src"> | ||
<sourceFolder url="file://$USER_HOME$/Qt/5.6/android_armv7/src/android/java/src" isTestSource="false" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="Android API 24 Platform" jdkType="Android SDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" exported="" name="firebase-messaging-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-media-compat-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-compat-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-v4-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="play-services-base-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-core-ui-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-core-utils-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="appcompat-v7-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="play-services-basement-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="play-services-tasks-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" scope="TEST" name="mockable-android-24" level="project" /> | ||
<orderEntry type="library" exported="" name="support-fragment-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="firebase-analytics-impl-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-annotations-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-vector-drawable-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="animated-vector-drawable-24.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="firebase-crash-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="firebase-core-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="firebase-common-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="firebase-analytics-9.4.0" level="project" /> | ||
<orderEntry type="library" exported="" name="firebase-iid-9.4.0" level="project" /> | ||
</component> | ||
</module> |
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,71 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.1.0' | ||
classpath 'com.google.gms:google-services:3.0.0' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
} | ||
|
||
android { | ||
/******************************************************* | ||
* The following variables: | ||
* - androidBuildToolsVersion, | ||
* - androidCompileSdkVersion | ||
* - qt5AndroidDir - holds the path to qt android files | ||
* needed to build any Qt application | ||
* on Android. | ||
* | ||
* are defined in gradle.properties file. This file is | ||
* updated by QtCreator and androiddeployqt tools. | ||
* Changing them manually might break the compilation! | ||
*******************************************************/ | ||
|
||
compileSdkVersion androidCompileSdkVersion.toInteger() | ||
|
||
buildToolsVersion androidBuildToolsVersion | ||
|
||
defaultConfig { | ||
applicationId "com.iktwo.qutelauncher" | ||
} | ||
|
||
sourceSets { | ||
main { | ||
manifest.srcFile 'AndroidManifest.xml' | ||
java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java'] | ||
aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl'] | ||
res.srcDirs = [qt5AndroidDir + '/res', 'res'] | ||
resources.srcDirs = ['src'] | ||
renderscript.srcDirs = ['src'] | ||
assets.srcDirs = ['assets'] | ||
jniLibs.srcDirs = ['libs'] | ||
} | ||
} | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.android.support:appcompat-v7:24.2.0' | ||
compile 'com.google.firebase:firebase-core:9.4.0' | ||
compile 'com.google.firebase:firebase-messaging:9.4.0' | ||
compile 'com.google.firebase:firebase-crash:9.4.0' | ||
} | ||
|
||
apply plugin: 'com.google.gms.google-services' |
Oops, something went wrong.