diff --git a/.gitignore b/.gitignore index 3e1ee79c..3616a891 100644 --- a/.gitignore +++ b/.gitignore @@ -29,8 +29,6 @@ # Android Studio *.idea/ -*gradle* -*.gradle *local.properties *build *production @@ -39,6 +37,8 @@ *.ipr *~ *.swp +.gradle +.gradle/ */build */production @@ -54,5 +54,6 @@ *.idea/datasources.xml *.idea/dataSources.ids + #Robotium diff --git a/Apps/Canobie_Physics_v2/AndroidManifest.xml b/Apps/Canobie_Physics_v2/AndroidManifest.xml index acb5abc8..a9b801fb 100644 --- a/Apps/Canobie_Physics_v2/AndroidManifest.xml +++ b/Apps/Canobie_Physics_v2/AndroidManifest.xml @@ -5,8 +5,8 @@ android:versionName="2.2" > + android:minSdkVersion="L" + android:targetSdkVersion="L" /> diff --git a/Apps/Canobie_Physics_v2/build.gradle b/Apps/Canobie_Physics_v2/build.gradle new file mode 100644 index 00000000..6ec8225c --- /dev/null +++ b/Apps/Canobie_Physics_v2/build.gradle @@ -0,0 +1,35 @@ +apply plugin: 'android' + +dependencies { + compile fileTree(dir: 'libs', include: '*.jar') + compile project(':Libs:iSENSE Imports') +} + +android { + compileSdkVersion 19 + buildToolsVersion "20.0.0" + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + aidl.srcDirs = ['src'] + renderscript.srcDirs = ['src'] + res.srcDirs = ['res'] + assets.srcDirs = ['assets'] + } + + // Move the tests to tests/java, tests/res, etc... + instrumentTest.setRoot('tests') + + // Move the build types to build-types/ + // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... + // This moves them out of them default location under src//... which would + // conflict with src/ being used by the main source set. + // Adding new build types or product flavors should be accompanied + // by a similar customization. + debug.setRoot('build-types/debug') + release.setRoot('build-types/release') + } +} diff --git a/Apps/Canobie_Physics_v2/project.properties b/Apps/Canobie_Physics_v2/project.properties index 88cab158..08029d98 100644 --- a/Apps/Canobie_Physics_v2/project.properties +++ b/Apps/Canobie_Physics_v2/project.properties @@ -1,2 +1,2 @@ target=android-19 -android.library.reference.1=../../Libs/iSENSE Imports +android.library.reference.1=../iSENSE Imports diff --git a/Apps/Canobie_Physics_v2/res/layout-v11/main.xml b/Apps/Canobie_Physics_v2/res/layout-v11/main.xml new file mode 100644 index 00000000..7584cb53 --- /dev/null +++ b/Apps/Canobie_Physics_v2/res/layout-v11/main.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + +