diff --git a/app/build.gradle b/app/build.gradle deleted file mode 100755 index a6f4469..0000000 --- a/app/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -apply plugin: 'com.android.application' - -android { - namespace "com.hyperling.apps.games" - compileSdkVersion 37 - defaultConfig { - applicationId "apps.hyperling.com.platformer" - minSdkVersion 14 - targetSdkVersion 37 - versionCode 13 - versionName "0.1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - } - buildTypes { - release { - minifyEnabled true - shrinkResources true - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - /* - compile fileTree(dir: 'libs', include: ['*.jar']) - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { - exclude group: 'com.android.support', module: 'support-annotations' - }) - compile 'com.android.support:appcompat-v7:24.2.1' - testCompile 'junit:junit:4.12' - */ - - implementation fileTree(dir: 'libs', include: ['*.jar']) - androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { - exclude group: 'com.android.support', module: 'support-annotations' - }) - // https://mvnrepository.com/artifact/com.android.support/appcompat-v7 - implementation group: 'com.android.support', name: 'appcompat-v7', version: '28.0.0' -} diff --git a/app/build.gradle.kts b/app/build.gradle.kts new file mode 100644 index 0000000..459ca7a --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,50 @@ +plugins { + alias(libs.plugins.androidApplication) +} + +android { + namespace = "com.hyperling.apps.games" + compileSdk = 37 + + defaultConfig { + applicationId = "apps.hyperling.com.platformer" + minSdk = 14 + targetSdk = 37 + versionCode = 13 + versionName = "0.1.0" + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + } + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } + + kotlin { + compilerOptions { + jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17) + } + } + + buildTypes { + release { + isMinifyEnabled = true + isShrinkResources = true + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + ndk { + abiFilters += listOf("arm64-v8a") + } + } + } +} + +dependencies { + implementation(libs.androidx.appcompat) + + testImplementation(libs.junit) + androidTestImplementation(libs.junit.ext) + androidTestImplementation(libs.espresso.core) +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3e8e2a4..021c7fd 100755 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,8 +2,7 @@ - - +