Skip to content

Commit

Permalink
Remove old code, namespace documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Amber Shen committed Feb 15, 2025
1 parent b575e30 commit 35559c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions game/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ if (localPropertiesFile.exists()) {
}
}

//def flutterRoot = localProperties.getProperty('flutter.sdk')
//if (flutterRoot == null) {
// throw new GradleException('Flutter SDK not found. Define location with flutter.sdk in the local.properties file.')
//}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
Expand All @@ -32,11 +27,6 @@ def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

//apply plugin: 'com.android.application'
//apply plugin: 'kotlin-android'
//apply plugin: 'com.google.gms.google-services'
//apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply from: project(':flutter_config').projectDir.getPath() + "/dotenv.gradle"


Expand All @@ -49,8 +39,6 @@ android {
}

defaultConfig {
// // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// applicationId 'com.cornellgo.CornellGO'
minSdkVersion 22
targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
Expand Down Expand Up @@ -89,8 +77,6 @@ android {
}

dependencies {
// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation platform('com.google.firebase:firebase-bom:29.1.0')
implementation 'com.google.firebase:firebase-analytics'
// implementation 'dev.fluttercommunity.plus:device_info_plus:11.3.0'
}
2 changes: 1 addition & 1 deletion game/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
allprojects {
repositories {
google()
// jcenter()
mavenCentral()
}
subprojects {
/** Checks if the namespace is set for an Android project; if not set, sets the namespace as com.cornellgo.CornellGO*/
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
Expand Down

0 comments on commit 35559c7

Please sign in to comment.