From be4cc7c68af427c05aab2b00efad00b6295198fd Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Fri, 1 Mar 2024 16:11:11 +0100 Subject: [PATCH] Update target Sdk to 33 --- app/build.gradle | 6 ++--- .../frajul/endlessroll/ApplicationTest.java | 20 -------------- app/src/main/AndroidManifest.xml | 3 ++- .../frajul/endlessroll/ExampleUnitTest.java | 27 ------------------- gradle.properties | 1 - particlelab/build.gradle | 8 +++--- particlelab/src/main/AndroidManifest.xml | 3 ++- 7 files changed, 11 insertions(+), 57 deletions(-) delete mode 100644 app/src/androidTest/java/de/frajul/endlessroll/ApplicationTest.java delete mode 100644 app/src/test/java/de/frajul/endlessroll/ExampleUnitTest.java diff --git a/app/build.gradle b/app/build.gradle index 92e5afb..6d49403 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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') } diff --git a/app/src/androidTest/java/de/frajul/endlessroll/ApplicationTest.java b/app/src/androidTest/java/de/frajul/endlessroll/ApplicationTest.java deleted file mode 100644 index 98e009c..0000000 --- a/app/src/androidTest/java/de/frajul/endlessroll/ApplicationTest.java +++ /dev/null @@ -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; - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase { - public ApplicationTest() { - super(Application.class); - } -} \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2dd223a..a17da13 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -23,7 +23,8 @@ + android:screenOrientation="sensorLandscape" + android:exported="true"> diff --git a/app/src/test/java/de/frajul/endlessroll/ExampleUnitTest.java b/app/src/test/java/de/frajul/endlessroll/ExampleUnitTest.java deleted file mode 100644 index 8591bd6..0000000 --- a/app/src/test/java/de/frajul/endlessroll/ExampleUnitTest.java +++ /dev/null @@ -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); - } -} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 796a43d..254649d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 \ No newline at end of file diff --git a/particlelab/build.gradle b/particlelab/build.gradle index 950a79a..5b65370 100644 --- a/particlelab/build.gradle +++ b/particlelab/build.gradle @@ -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' } diff --git a/particlelab/src/main/AndroidManifest.xml b/particlelab/src/main/AndroidManifest.xml index 1703228..edede66 100644 --- a/particlelab/src/main/AndroidManifest.xml +++ b/particlelab/src/main/AndroidManifest.xml @@ -21,7 +21,8 @@ + android:screenOrientation="landscape" + android:exported="true">