Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
-> Update to gradle 1.5.0
Browse files Browse the repository at this point in the history
-> add the lines to compile the project with Matrix SDK as a part of the project instead of a third party lib.
Theses lines are commented by default.
  • Loading branch information
ylecollen committed Jul 6, 2016
1 parent 4771062 commit e82a13c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.google.gms:google-services:1.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
5 changes: 5 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
include ':vector'


// uncomment theses lines to compile matrix SDK as project sources instead of external lib
//include ':matrix-sdk'
//project(':matrix-sdk').projectDir = new File(settingsDir, '../matrix-android-sdk/matrix-sdk')
8 changes: 8 additions & 0 deletions vector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,16 @@ dependencies {

compile 'com.commonsware.cwac:anddown:0.2.+'

/************* Matrix SDK management **************/
// use the matrix SDK as external lib
compile(name: 'matrix-sdk', ext: 'aar')

// use the matrix SDK as a part of the project
// you have to uncomment some lines in settings.gradle
//compile project(':matrix-sdk')

/************* flavors management **************/

// app flavor only
appCompile 'com.google.android.gms:play-services-gcm:8.1.0'
appCompile 'com.google.android.gms:play-services-analytics:8.1.0'
Expand Down

0 comments on commit e82a13c

Please sign in to comment.