Commit 6cff4d3839907a197f88959cb425d05e2861e1ac
1 parent
d6936eaf
Init the Android Project
Showing
6 changed files
with
103 additions
and
0 deletions
Show diff stats
1 | +apply plugin: 'com.android.application' | |
2 | + | |
3 | +android { | |
4 | + compileSdkVersion 25 | |
5 | + buildToolsVersion "25.0.3" | |
6 | + defaultConfig { | |
7 | + applicationId "fr.utbm.lo53.p2017.positionningapp" | |
8 | + minSdkVersion 19 | |
9 | + targetSdkVersion 25 | |
10 | + versionCode 1 | |
11 | + versionName "1.0" | |
12 | + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
13 | + } | |
14 | + buildTypes { | |
15 | + release { | |
16 | + minifyEnabled false | |
17 | + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
18 | + } | |
19 | + } | |
20 | +} | |
21 | + | |
22 | +dependencies { | |
23 | + compile fileTree(dir: 'libs', include: ['*.jar']) | |
24 | + androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | |
25 | + exclude group: 'com.android.support', module: 'support-annotations' | |
26 | + }) | |
27 | + compile 'com.android.support:appcompat-v7:25.3.1' | |
28 | + compile 'com.android.support.constraint:constraint-layout:1.0.2' | |
29 | + compile 'com.android.support:design:25.3.1' | |
30 | + testCompile 'junit:junit:4.12' | |
31 | +} | ... | ... |
1 | +# Add project specific ProGuard rules here. | |
2 | +# By default, the flags in this file are appended to flags specified | |
3 | +# in C:\Users\Valentin\AppData\Local\Android\Sdk/tools/proguard/proguard-android.txt | |
4 | +# You can edit the include path and order by changing the proguardFiles | |
5 | +# directive in build.gradle. | |
6 | +# | |
7 | +# For more details, see | |
8 | +# http://developer.android.com/guide/developing/tools/proguard.html | |
9 | + | |
10 | +# Add any project specific keep options here: | |
11 | + | |
12 | +# If your project uses WebView with JS, uncomment the following | |
13 | +# and specify the fully qualified class name to the JavaScript interface | |
14 | +# class: | |
15 | +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | |
16 | +# public *; | |
17 | +#} | |
18 | + | |
19 | +# Uncomment this to preserve the line number information for | |
20 | +# debugging stack traces. | |
21 | +#-keepattributes SourceFile,LineNumberTable | |
22 | + | |
23 | +# If you keep the line number information, uncomment this to | |
24 | +# hide the original source file name. | |
25 | +#-renamesourcefileattribute SourceFile | ... | ... |
1 | +// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
2 | + | |
3 | +buildscript { | |
4 | + repositories { | |
5 | + jcenter() | |
6 | + } | |
7 | + dependencies { | |
8 | + classpath 'com.android.tools.build:gradle:2.3.2' | |
9 | + | |
10 | + // NOTE: Do not place your application dependencies here; they belong | |
11 | + // in the individual module build.gradle files | |
12 | + } | |
13 | +} | |
14 | + | |
15 | +allprojects { | |
16 | + repositories { | |
17 | + jcenter() | |
18 | + } | |
19 | +} | |
20 | + | |
21 | +task clean(type: Delete) { | |
22 | + delete rootProject.buildDir | |
23 | +} | ... | ... |
1 | +# Project-wide Gradle settings. | |
2 | + | |
3 | +# IDE (e.g. Android Studio) users: | |
4 | +# Gradle settings configured through the IDE *will override* | |
5 | +# any settings specified in this file. | |
6 | + | |
7 | +# For more details on how to configure your build environment visit | |
8 | +# http://www.gradle.org/docs/current/userguide/build_environment.html | |
9 | + | |
10 | +# Specifies the JVM arguments used for the daemon process. | |
11 | +# The setting is particularly useful for tweaking memory settings. | |
12 | +org.gradle.jvmargs=-Xmx1536m | |
13 | + | |
14 | +# When configured, Gradle will run in incubating parallel mode. | |
15 | +# This option should only be used with decoupled projects. More details, visit | |
16 | +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | |
17 | +# org.gradle.parallel=true | ... | ... |
1 | +include ':app' | ... | ... |