| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,27 +2,22 @@ plugins { | |||
| 2 | 2 | id 'com.android.application' | |
| 3 | 3 | id 'org.jetbrains.kotlin.android' | |
| 4 | 4 | id 'com.google.gms.google-services' | |
| 5 | - id "io.sentry.android.gradle" version "4.3.1" | ||
| 5 | + id "io.sentry.android.gradle" version "6.2.0" | ||
| 6 | 6 | } | |
| 7 | 7 | ||
| 8 | - def getGitHash = { -> | ||
| 9 | - def stdout = new ByteArrayOutputStream() | ||
| 10 | - exec { | ||
| 11 | - commandLine 'git', 'rev-parse', '--short', 'HEAD' | ||
| 12 | - standardOutput = stdout | ||
| 13 | - } | ||
| 14 | - return stdout.toString().trim() | ||
| 15 | - } | ||
| 8 | + def gitHash = providers.exec { | ||
| 9 | + commandLine 'git', 'rev-parse', '--short', 'HEAD' | ||
| 10 | + }.standardOutput.asText.map { it.trim() }.getOrElse("unknown") | ||
| 16 | 11 | ||
| 17 | 12 | android { | |
| 18 | - compileSdk 35 | ||
| 13 | + compileSdk 36 | ||
| 19 | 14 | ||
| 20 | 15 | defaultConfig { | |
| 21 | 16 | applicationId "com.httpsms" | |
| 22 | 17 | minSdk 28 | |
| 23 | 18 | targetSdk 35 | |
| 24 | 19 | versionCode 1 | |
| 25 | - versionName "${getGitHash()}" | ||
| 20 | + versionName gitHash | ||
| 26 | 21 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |
| 27 | 22 | } | |
| 28 | 23 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. | |
| 2 | 2 | buildscript { | |
| 3 | 3 | ext { | |
| 4 | - kotlin_version = '2.1.0' | ||
| 4 | + kotlin_version = '2.2.10' | ||
| 5 | 5 | } | |
| 6 | 6 | repositories { | |
| 7 | 7 | // Check that you have the following line (if not, add it): | |
@@ -17,9 +17,9 @@ buildscript { | |||
| 17 | 17 | } | |
| 18 | 18 | ||
| 19 | 19 | plugins { | |
| 20 | - id 'com.android.application' version '8.13.2' apply false | ||
| 21 | - id 'com.android.library' version '8.13.2' apply false | ||
| 22 | - id 'org.jetbrains.kotlin.android' version '1.6.21' apply false | ||
| 20 | + id 'com.android.application' version '9.1.0' apply false | ||
| 21 | + id 'com.android.library' version '9.1.0' apply false | ||
| 22 | + id 'org.jetbrains.kotlin.android' version '2.3.20' apply false | ||
| 23 | 23 | } | |
| 24 | 24 | ||
| 25 | 25 | tasks.register('clean', Delete) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,3 +22,13 @@ kotlin.code.style=official | |||
| 22 | 22 | # thereby reducing the size of the R class for that library | |
| 23 | 23 | android.nonTransitiveRClass=true | |
| 24 | 24 | android.nonFinalResIds=false | |
| 25 | + android.defaults.buildfeatures.resvalues=true | ||
| 26 | + android.sdk.defaultTargetSdkToCompileSdkIfUnset=false | ||
| 27 | + android.enableAppCompileTimeRClass=false | ||
| 28 | + android.usesSdkInManifest.disallowed=false | ||
| 29 | + android.uniquePackageNames=false | ||
| 30 | + android.dependency.useConstraints=true | ||
| 31 | + android.r8.strictFullModeForKeepRules=false | ||
| 32 | + android.r8.optimizedResourceShrinking=false | ||
| 33 | + android.builtInKotlin=false | ||
| 34 | + android.newDsl=false | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | #Thu Jun 23 15:32:32 EEST 2022 | |
| 2 | 2 | distributionBase=GRADLE_USER_HOME | |
| 3 | - distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip | ||
| 3 | + distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip | ||
| 4 | 4 | distributionPath=wrapper/dists | |
| 5 | 5 | zipStorePath=wrapper/dists | |
| 6 | 6 | zipStoreBase=GRADLE_USER_HOME | |
| Back | FazBrowse Home | New Git URL |
0 commit comments