Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Commit 7ac278e

Browse files
author
Xavi Rigau
committed
Merge pull request #48 from novoda/fix_build
Move tests and demos to Gradle
2 parents 1d11926 + c416116 commit 7ac278e

113 files changed

Lines changed: 151 additions & 597 deletions

File tree

Some content is hidden

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

acceptance/lint.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

acceptance/pom.xml

Lines changed: 0 additions & 80 deletions
This file was deleted.

acceptance/proguard-project.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

acceptance/project.properties

Lines changed: 0 additions & 14 deletions
This file was deleted.

acceptance/test/created_to_please_maven

Whitespace-only changes.

core/build.gradle

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ buildscript {
1414
android {
1515
compileSdkVersion 22
1616
buildToolsVersion "22.0.1"
17-
sourceSets {
18-
main {
19-
manifest.srcFile 'AndroidManifest.xml'
20-
}
17+
18+
defaultConfig {
19+
minSdkVersion 8
2120
}
2221
}
2322

@@ -26,14 +25,11 @@ repositories {
2625
}
2726

2827
dependencies {
29-
testCompile "org.scala-lang:scala-library:2.9.1"
30-
testCompile "org.scalatest:scalatest_2.9.1:1.8.RC1"
31-
testCompile "junit:junit:4.10"
32-
testCompile "com.pivotallabs:robolectric:1.1"
33-
testCompile "com.novocode:junit-interface:0.8"
34-
testCompile "org.mockito:mockito-core:1.9.0"
35-
testCompile "com.google.android:android:4.0.1.2"
36-
testCompile "com.google.android:android-test:4.0.1.2"
28+
testCompile "junit:junit:4.12"
29+
testCompile "org.robolectric:robolectric:2.4"
30+
testCompile "org.mockito:mockito-core:1.9.5"
31+
// make Robolectric work on Gradle 2.3
32+
testCompile 'org.apache.maven:maven-ant-tasks:2.1.3'
3733
}
3834

3935
publish {

core/build.sbt

Lines changed: 0 additions & 26 deletions
This file was deleted.

core/pom.xml

Lines changed: 0 additions & 83 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
android:versionCode="1"
55
android:versionName="1.0" >
66

7-
<uses-sdk
8-
android:minSdkVersion="3"
9-
android:targetSdkVersion="17" />
107

118
<application android:allowBackup="false" >
129
<uses-library android:name="android.test.runner" />
@@ -21,9 +18,4 @@
2118
android:exported="false" />
2219
</application>
2320

24-
<instrumentation
25-
android:name="android.test.InstrumentationTestRunner"
26-
android:label="Tests for sqliteprovider"
27-
android:targetPackage="novoda.lib.sqliteprovider.tests" />
28-
2921
</manifest>

acceptance/assets/migrations/129467607_create.sql renamed to core/src/androidTest/assets/migrations/129467607_create.sql

File renamed without changes.

0 commit comments

Comments
 (0)