Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove transitive dependency to realm-android-library in order to sup…
…port realm-android-library-object-server (#66) * Remove transitive dependency to realm-android-library in order to support realm-android-library-object-server * move androidTests to tests project in order to apply Realm plugin * update Jenkinsfile * fix error
- Loading branch information
Showing
15 changed files
with
61 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include 'adapters' | ||
include 'tests' | ||
include 'example' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'checkstyle' | ||
apply plugin: 'realm-android' | ||
|
||
android { | ||
compileSdkVersion rootProject.sdkVersion | ||
buildToolsVersion rootProject.buildTools | ||
|
||
defaultConfig { | ||
minSdkVersion 9 | ||
targetSdkVersion rootProject.sdkVersion | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
} | ||
|
||
dependencies { | ||
compile project(':adapters') | ||
|
||
androidTestCompile "com.android.support:recyclerview-v7:${supportLibraryVersion}" | ||
androidTestCompile "io.realm:realm-android-library:${realmVersion}" | ||
androidTestCompile 'com.android.support.test:runner:0.5' | ||
androidTestCompile 'com.android.support.test:rules:0.5' | ||
androidTestCompile 'junit:junit:4.12' | ||
} | ||
|
||
task checkstyle(type: Checkstyle) { | ||
group = 'Test' | ||
|
||
source 'src' | ||
include '**/*.java' | ||
exclude '**/gen/**' | ||
exclude '**/R.java' | ||
exclude '**/BuildConfig.java' | ||
|
||
def configProps = ['proj.module.dir': projectDir.absolutePath] | ||
configProperties configProps | ||
|
||
configFile = file("${projectDir}/../config/checkstyle/checkstyle.xml") | ||
|
||
// empty classpath | ||
classpath = files() | ||
} | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<manifest package="io.realm.android.tests"> | ||
|
||
</manifest> |