Support for Android 12
This commit is contained in:
+7
-7
@@ -1,13 +1,13 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 30 // 30 = Android 11
|
compileSdkVersion 31 // 31 = Android 12
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "net.moasdawiki.app"
|
applicationId "net.moasdawiki.app"
|
||||||
minSdkVersion 26 // 26 = Oreo 8.0
|
minSdkVersion 28 // 28 = Android 9
|
||||||
targetSdkVersion 30 // should be same as compileSdkVersion
|
targetSdkVersion 31 // should be same as compileSdkVersion
|
||||||
versionCode 27
|
versionCode 28
|
||||||
versionName "2.6.1.0"
|
versionName "3.1.0.0"
|
||||||
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
|
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
|
||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
@@ -18,8 +18,8 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility JavaVersion.VERSION_11
|
||||||
targetCompatibility = 1.8
|
targetCompatibility JavaVersion.VERSION_11
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,8 @@
|
|||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:label="@string/app_name">
|
android:label="@string/app_name"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
@@ -44,7 +45,8 @@
|
|||||||
|
|
||||||
<service
|
<service
|
||||||
android:name="net.moasdawiki.app.CalendarAccountAuthenticatorService"
|
android:name="net.moasdawiki.app.CalendarAccountAuthenticatorService"
|
||||||
tools:ignore="ExportedService">
|
tools:ignore="ExportedService"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.accounts.AccountAuthenticator"/>
|
<action android:name="android.accounts.AccountAuthenticator"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|||||||
Reference in New Issue
Block a user