Update target Sdk to 33

This commit is contained in:
Julian Mutter 2024-03-01 16:11:11 +01:00
parent 6143e9edb8
commit be4cc7c68a
7 changed files with 11 additions and 57 deletions

View File

@ -10,11 +10,11 @@ apply plugin: 'com.android.application'
android {
signingConfigs {
}
compileSdkVersion 26
compileSdk 33
defaultConfig {
applicationId 'de.frajul.endlessroll'
minSdkVersion 14
targetSdkVersion 26
targetSdkVersion 33
versionCode 9
versionName '1.0'
}
@ -39,6 +39,6 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation files('libs/simple-xml-2.7.1.jar')
}

View File

@ -1,20 +0,0 @@
/*
* Created by Julian Mutter on 7/10/18 3:58 PM
* Copyright (c) 2018. All rights reserved.
* Last modified 7/10/18 3:54 PM
*
*/
package de.frajul.endlessroll;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}

View File

@ -23,7 +23,8 @@
<activity
android:name=".main.GameActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:screenOrientation="sensorLandscape">
android:screenOrientation="sensorLandscape"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -1,27 +0,0 @@
/*
* Created by Julian Mutter on 7/10/18 3:58 PM
* Copyright (c) 2018. All rights reserved.
* Last modified 7/10/18 3:54 PM
*
*/
package de.frajul.endlessroll;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
@Test
public void myTest() {
String s = String.format("test %d%%", 15);
System.out.println(s);
}
}

View File

@ -18,6 +18,5 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false

View File

@ -8,11 +8,11 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
compileSdk 33
defaultConfig {
applicationId "de.frajul.particlelab"
minSdkVersion 12
targetSdkVersion 23
minSdkVersion 14
targetSdk 33
versionCode 1
versionName "1.0"
}
@ -30,5 +30,5 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:23.1.1'
implementation 'com.android.support:appcompat-v7:28.0.0'
}

View File

@ -21,7 +21,8 @@
<activity
android:name=".main.MainActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:screenOrientation="landscape">
android:screenOrientation="landscape"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />