Skip to content

Commit a0148ed

Browse files
authored
Merge b619daa into master-4.0
2 parents 175603d + b619daa commit a0148ed

10 files changed

Lines changed: 16 additions & 16 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN sdkmanager --update
5252
RUN sdkmanager 'platform-tools'
5353
RUN sdkmanager 'build-tools;26.0.1'
5454
RUN sdkmanager 'extras;android;m2repository'
55-
RUN sdkmanager 'platforms;android-25'
55+
RUN sdkmanager 'platforms;android-26'
5656

5757
# Install the NDK
5858
RUN mkdir /opt/android-ndk-tmp && \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ In case you don't want to use the precompiled version, you can build Realm yours
6060
### Prerequisites
6161

6262
* Download the [**JDK 7**](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) or [**JDK 8**](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) from Oracle and install it.
63-
* Download & install the Android SDK **Build-Tools 26.0.1**, **Android N (API 25)** (for example through Android Studio’s **Android SDK Manager**).
63+
* Download & install the Android SDK **Build-Tools 26.0.1**, **Android O (API 26)** (for example through Android Studio’s **Android SDK Manager**).
6464
* Install CMake from SDK manager in Android Studio ("SDK Tools" -> "CMake").
6565
* If you use Android Studio, Android Studio 3.0 or later is required.
6666

examples/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project.ext.sdkVersion = 25
1+
project.ext.sdkVersion = 26
22
project.ext.buildTools = '26.0.1'
33

44
// Don't cache SNAPSHOT (changing) dependencies.

examples/kotlinExample/src/main/kotlin/io/realm/examples/kotlin/KotlinExampleActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class KotlinExampleActivity : Activity() {
4242
override fun onCreate(savedInstanceState: Bundle?) {
4343
super.onCreate(savedInstanceState)
4444
setContentView(R.layout.activity_realm_basic_example)
45-
rootLayout = findViewById(R.id.container) as LinearLayout
45+
rootLayout = findViewById(R.id.container)
4646
rootLayout.removeAllViews()
4747

4848
// These operations are small enough that

examples/newsreaderExample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ android {
3434
dependencies {
3535
implementation fileTree(dir: 'libs', include: ['*.jar'])
3636
//noinspection GradleDependency
37-
implementation 'com.android.support:appcompat-v7:25.2.0'
37+
implementation 'com.android.support:appcompat-v7:26.0.1'
3838
//noinspection GradleDependency
39-
implementation 'com.android.support:design:25.2.0'
39+
implementation 'com.android.support:design:26.0.1'
4040
implementation 'io.reactivex:rxjava:1.1.0'
4141
implementation 'io.reactivex:rxandroid:1.1.0'
4242
implementation 'com.squareup.retrofit:retrofit:2.0.0-beta2'

examples/objectServerExample/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ realm {
6060
}
6161

6262
dependencies {
63-
implementation 'com.android.support:support-v4:25.2.0'
64-
implementation 'com.android.support:appcompat-v7:25.2.0'
65-
implementation 'com.android.support:design:25.2.0'
63+
implementation 'com.android.support:support-v4:26.0.1'
64+
implementation 'com.android.support:appcompat-v7:26.0.1'
65+
implementation 'com.android.support:design:26.0.1'
6666
implementation 'me.zhanghai.android.materialprogressbar:library:1.3.0'
6767
implementation 'com.jakewharton:butterknife:8.5.1'
6868
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'

examples/secureTokenAndroidKeyStore/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88

99
defaultConfig {
1010
applicationId "io.realm.examples.securetokenandroidkeystore"
11-
minSdkVersion 9
11+
minSdkVersion 14
1212
targetSdkVersion 25
1313
versionCode 1
1414
versionName "1.0"
@@ -32,7 +32,7 @@ dependencies {
3232
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
3333
exclude group: 'com.android.support', module: 'support-annotations'
3434
})
35-
implementation 'com.android.support:appcompat-v7:25.2.0'
35+
implementation 'com.android.support:appcompat-v7:26.0.1'
3636
testImplementation 'junit:junit:4.12'
3737
implementation 'io.realm:secure-userstore:1.0.1'
3838
}

library-benchmarks/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ apply plugin: 'com.android.library'
2626
apply plugin: 'realm-android'
2727

2828
android {
29-
compileSdkVersion 25
29+
compileSdkVersion 26
3030
buildToolsVersion "26.0.1"
3131

3232
defaultConfig {

realm/realm-annotations-processor/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515
testCompile files("${System.properties['java.home']}/../lib/tools.jar") // This is needed otherwise compile-testing won't be able to find it
1616
testCompile group:'junit', name:'junit', version:'4.12'
1717
testCompile group:'com.google.testing.compile', name:'compile-testing', version:'0.6'
18-
testCompile files(file("${System.env.ANDROID_HOME}/platforms/android-25/android.jar"))
18+
testCompile files(file("${System.env.ANDROID_HOME}/platforms/android-26/android.jar"))
1919
}
2020

2121
// for Ant filter

realm/realm-library/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ext.lcachePath = project.findProperty('lcachePath') ?: System.getenv('NDK_LCACHE
3939
ext.enableDebugCore = project.hasProperty('enableDebugCore') ? project.getProperty('enableDebugCore') : false
4040

4141
android {
42-
compileSdkVersion 25
42+
compileSdkVersion 26
4343
buildToolsVersion '26.0.1'
4444

4545
defaultConfig {
@@ -184,8 +184,8 @@ dependencies {
184184
kaptAndroidTest project(':realm-annotations-processor')
185185
androidTestImplementation fileTree(dir: 'testLibs', include: ['*.jar'])
186186
androidTestImplementation 'io.reactivex:rxjava:1.1.0'
187-
androidTestImplementation 'com.android.support.test:runner:0.5'
188-
androidTestImplementation 'com.android.support.test:rules:0.5'
187+
androidTestImplementation 'com.android.support.test:runner:1.0.0'
188+
androidTestImplementation 'com.android.support.test:rules:1.0.0'
189189
androidTestImplementation 'com.google.dexmaker:dexmaker:1.2'
190190
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2'
191191
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'

0 commit comments

Comments
 (0)