diff --git a/app/build.gradle b/app/build.gradle index 602fad7..19e35c1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -39,9 +39,9 @@ android { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'androidx.constraintlayout:constraintlayout:2.1.3' + implementation 'androidx.core:core-ktx:1.8.0' + implementation 'androidx.appcompat:appcompat:1.4.2' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' diff --git a/app/src/main/java/com/rajat/pdfviewer/MainActivity.kt b/app/src/main/java/com/rajat/pdfviewer/MainActivity.kt index 83b974a..8bb4263 100644 --- a/app/src/main/java/com/rajat/pdfviewer/MainActivity.kt +++ b/app/src/main/java/com/rajat/pdfviewer/MainActivity.kt @@ -13,13 +13,12 @@ class MainActivity : AppCompatActivity() { private lateinit var binding: ActivityMainBinding - private val requiredPermissionList = arrayOf( Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE ) - private var download_file_url = "https://github.com/afreakyelf/Pdf-Viewer/files/5856345/AA.pdf" + private var download_file_url = "https://github.com/afreakyelf/afreakyelf/raw/main/Log4_Shell_Mid_Term_final.pdf" var per = 0f private val PERMISSION_CODE = 4040 diff --git a/build.gradle b/build.gradle index e3abaa9..65c2cbf 100644 --- a/build.gradle +++ b/build.gradle @@ -1,12 +1,12 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = "1.6.10" + ext.kotlin_version = "1.7.0" repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' + classpath 'com.android.tools.build:gradle:7.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle.properties b/gradle.properties index 4d15d01..9bb1cb2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,4 +18,4 @@ android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX android.enableJetifier=true # Kotlin code style for this project: "official" or "obsolete": -kotlin.code.style=official \ No newline at end of file +kotlin.code.style=official diff --git a/pdfViewer/build.gradle b/pdfViewer/build.gradle index 846b5ee..9841beb 100644 --- a/pdfViewer/build.gradle +++ b/pdfViewer/build.gradle @@ -33,13 +33,13 @@ android { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'androidx.core:core-ktx:1.8.0' + implementation 'androidx.appcompat:appcompat:1.4.2' implementation "androidx.recyclerview:recyclerview:1.2.1" - implementation "androidx.constraintlayout:constraintlayout:2.1.3" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2" - implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2' - implementation 'com.google.android.material:material:1.5.0' + implementation "androidx.constraintlayout:constraintlayout:2.1.4" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3" + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.3' + implementation 'com.google.android.material:material:1.6.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3'