Skip to content

Commit

Permalink
Java 11 and compile/target sdk 31
Browse files Browse the repository at this point in the history
  • Loading branch information
tfcporciuncula committed Nov 16, 2021
1 parent 9dbc718 commit 213090b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ buildscript {

ext.buildConfig = [
'minSdk' : 14,
'compileSdk': 30,
'targetSdk' : 30,
'buildTools': '30.0.2'
'compileSdk': 31,
'targetSdk' : 31,
]

subprojects {
Expand Down
5 changes: 2 additions & 3 deletions flow-preferences-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apply plugin: 'kotlin-android'

android {
compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools

defaultConfig {
applicationId 'com.fredporciuncula.flow.preferences.sample'
Expand All @@ -16,11 +15,11 @@ android {
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
jvmTarget = JavaVersion.VERSION_11
}

buildFeatures {
viewBinding = true
viewBinding true
}
}

Expand Down
5 changes: 4 additions & 1 deletion flow-preferences-sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
>

<activity android:name=".SampleActivity">
<activity
android:name=".SampleActivity"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
1 change: 0 additions & 1 deletion flow-preferences-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apply plugin: 'kotlin-android'

android {
compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools

defaultConfig {
minSdkVersion 26
Expand Down
1 change: 0 additions & 1 deletion flow-preferences/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ apply plugin: 'com.vanniktech.maven.publish'

android {
compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools

defaultConfig {
minSdkVersion buildConfig.minSdk
Expand Down

0 comments on commit 213090b

Please sign in to comment.