-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Dependencies #225
Update Dependencies #225
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,13 @@ plugins { | |
|
||
android { | ||
compileSdk 34 | ||
buildToolsVersion "31.0.0" | ||
|
||
defaultConfig { | ||
namespace 'com.hieuwu.groceriesstore' | ||
applicationId "com.hieuwu.groceriesstore" | ||
minSdkVersion 22 | ||
buildToolsVersion = "31.0.0" | ||
|
||
minSdkVersion 28 | ||
targetSdkVersion 33 | ||
versionCode 5 | ||
versionName "1.0" | ||
|
@@ -29,7 +31,6 @@ android { | |
buildConfigField("String", "SECRET", "\"${properties.getProperty("SECRET")}\"") | ||
buildConfigField("String", "SUPABASE_URL", "\"${properties.getProperty("SUPABASE_URL")}\"") | ||
|
||
|
||
} | ||
|
||
buildTypes { | ||
|
@@ -40,12 +41,12 @@ android { | |
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = JavaVersion.VERSION_11.toString() | ||
jvmTarget = "1.8" | ||
} | ||
|
||
buildFeatures { | ||
|
@@ -57,7 +58,7 @@ android { | |
composeOptions { | ||
kotlinCompilerExtensionVersion "1.2.0" | ||
} | ||
namespace 'com.hieuwu.groceriesstore' | ||
|
||
} | ||
|
||
dependencies { | ||
|
@@ -93,9 +94,7 @@ dependencies { | |
|
||
implementation platform(libs.firebase.bom) | ||
implementation libs.bundles.firebase | ||
// implementation 'io.supabase:postgrest-kt:0.9.0-alpha-4' | ||
|
||
// implementation("io.github.jan-tennert.supabase:postgrest-kt:0.2.0") | ||
implementation("io.ktor:ktor-client-cio:1.6.0") | ||
implementation("io.github.jan-tennert.supabase:postgrest-kt-android:0.9.0-alpha-4") | ||
implementation "io.ktor:ktor-client-android:2.2.1" | ||
|
@@ -118,13 +117,13 @@ dependencies { | |
implementation("androidx.hilt:hilt-navigation-compose:1.0.0") | ||
implementation "com.github.bumptech.glide:compose:1.0.0-alpha.1" | ||
implementation "androidx.compose.material3:material3:1.1.1" | ||
testImplementation("org.mockito:mockito-core:2.1.0") | ||
testImplementation("org.mockito:mockito-core:5.3.1") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert changes related to Supabase. |
||
|
||
debugImplementation "androidx.compose.ui:ui-tooling:1.4.2" | ||
implementation "androidx.compose.ui:ui-tooling-preview:1.4.2" | ||
def nav_version = "2.5.3" | ||
implementation("androidx.navigation:navigation-compose:$nav_version") | ||
implementation "androidx.compose.material:material-icons-extended:1.0.0" | ||
implementation "androidx.compose.material:material-icons-extended:1.5.3" | ||
|
||
implementation libs.caruilib | ||
testImplementation "org.mockito.kotlin:mockito-kotlin:5.1.0" | ||
|
@@ -134,19 +133,11 @@ dependencies { | |
androidTestImplementation libs.androidx.test.arch.core | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
tasks.register('wrapper', Wrapper) { | ||
gradleVersion = '7.5' | ||
} | ||
|
||
detekt { | ||
config = files("${project.rootDir.absolutePath}/config/detekt/detekt.yml") | ||
buildUponDefaultConfig = true | ||
} | ||
|
||
ktlint { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert this change There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @hieuwu Done |
||
// android.set(true) | ||
// reporters { | ||
// reporter(ReporterType.PLAIN) | ||
// reporter(ReporterType.HTML) | ||
// } | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Tue Oct 10 05:12:00 IST 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
# Location of the SDK. This is only used by Gradle. | ||
# For customization when using a Version Control System, please read the | ||
# header note. | ||
#Tue Oct 10 04:51:12 IST 2023 | ||
#Sun Oct 15 13:05:21 IST 2023 | ||
API_KEY=YOUR_SUPABASE_KEY | ||
SECRET=YOUR_SUPABASE_SECRET | ||
SUPABASE_URL=YOUR_SUPABASE_URL | ||
sdk.dir=/Users/hieuvu/Library/Android/sdk | ||
sdk.dir=C\:\\Users\\HP\\AppData\\Local\\Android\\Sdk | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert this change There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @hieuwu This change is auto generated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this to as current java version is 12 but new one is java 8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hieuwu Reverted to Java12