Skip to content

Commit b5e4ccb

Browse files
ble_fota: moving things around to be able to create a sample app
The architecture of the project is now: - base - lib - sample Signed-off-by: Giuliano Franchetto <[email protected]>
1 parent 9789b3f commit b5e4ccb

Some content is hidden

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

61 files changed

+751
-290
lines changed

.idea/misc.xml

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

.idea/modules.xml

+10
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.

.idea/vcs.xml

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

LICENSE

-201
This file was deleted.

README.md

-17
This file was deleted.

build.gradle

+14-39
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,27 @@
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
13
buildscript {
4+
25
repositories {
6+
google()
37
jcenter()
48
}
59
dependencies {
610
classpath 'com.android.tools.build:gradle:3.0.1'
7-
}
8-
}
9-
10-
apply plugin: 'com.android.library'
11-
12-
android {
13-
compileSdkVersion 27
14-
15-
defaultConfig {
16-
minSdkVersion 21
17-
targetSdkVersion 27
18-
versionCode 1
19-
versionName "1.0"
20-
21-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
11+
2212

13+
// NOTE: Do not place your application dependencies here; they belong
14+
// in the individual module build.gradle files
2315
}
24-
25-
buildTypes {
26-
release {
27-
minifyEnabled false
28-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
29-
}
30-
}
31-
3216
}
3317

34-
dependencies {
35-
implementation fileTree(dir: 'libs', include: ['*.jar'])
36-
37-
implementation 'com.android.support:appcompat-v7:27.0.2'
38-
testImplementation 'junit:junit:4.12'
39-
androidTestImplementation 'com.android.support.test:runner:1.0.1'
40-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
41-
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.9.3'
42-
compile 'com.fasterxml.jackson.core:jackson-core:2.9.3'
43-
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.3'
18+
allprojects {
19+
repositories {
20+
google()
21+
jcenter()
22+
}
4423
}
4524

46-
repositories {
47-
google()
48-
maven { url "https://jitpack.io" }
49-
mavenCentral()
50-
mavenLocal()
51-
jcenter()
25+
task clean(type: Delete) {
26+
delete rootProject.buildDir
5227
}

gradle.properties

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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

gradle/wrapper/gradle-wrapper.jar

52.4 KB
Binary file not shown.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Tue Feb 13 14:01:39 CET 2018
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 commit comments

Comments
 (0)