Skip to content

Commit

Permalink
Create build.gradle in root of project, so the entire project can be …
Browse files Browse the repository at this point in the history
…build at once
  • Loading branch information
Lauszus committed Sep 15, 2013
1 parent 8e3d66a commit a493eb4
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
17 changes: 4 additions & 13 deletions SampleProjects/PhysicaloidTest/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}

apply plugin: 'android'

dependencies {
compile project(':PhysicaloidLibrary')
}

android {
compileSdkVersion 18
buildToolsVersion '18.0.1'
Expand All @@ -26,8 +21,4 @@ android {
assets.srcDirs = ['assets']
}
}
}

dependencies {
compile project(':PhysicaloidLibrary')
}
2 changes: 0 additions & 2 deletions SampleProjects/PhysicaloidTest/settings.gradle

This file was deleted.

22 changes: 22 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}

allprojects {
group = 'com.physicaloid'
version = '1.0'

repositories {
mavenCentral()
}

tasks.withType(Compile) {
options.encoding = "UTF-8"
}
}
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include 'PhysicaloidLibrary'
include 'SampleProjects:PhysicaloidTest'

0 comments on commit a493eb4

Please sign in to comment.