mirror of
https://github.com/cmclark00/mintris.git
synced 2025-05-17 22:35:20 +01:00
- Incremented version code to 5 and version name to 0.4 in build.gradle. - Removed Google Play sign-in buttons from both portrait and landscape layouts. - Updated HighScoresActivity to hide the leaderboard button. - Improved score submission process in GooglePlayGamesManager with forced sign-in and user feedback. - Enhanced MainActivity to submit scores to Google Play Games upon game over.
71 lines
No EOL
2.2 KiB
Groovy
71 lines
No EOL
2.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.pixelmintdrop'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId "com.pixelmintdrop"
|
|
minSdk 30
|
|
targetSdk 35
|
|
versionCode 5
|
|
versionName "0.4"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
if (project.hasProperty('RELEASE_STORE_FILE')) {
|
|
storeFile file(RELEASE_STORE_FILE)
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
keyPassword RELEASE_KEY_PASSWORD
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation 'androidx.core:core-ktx:1.12.0'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.11.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.7.0'
|
|
implementation "androidx.activity:activity-ktx:1.9.0"
|
|
implementation 'androidx.window:window:1.2.0' // For better display support
|
|
implementation 'androidx.window:window-java:1.2.0'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
implementation 'com.google.android.gms:play-services-games-v2:19.0.0'
|
|
implementation 'com.google.android.gms:play-services-auth:20.7.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
} |