Skip to content

Commit

Permalink
updated versions and cleanup build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Feb 26, 2024
1 parent 5fedb75 commit 040dbcd
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ apply from: 'config/keystore.gradle'

buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'com.android.tools.build:gradle:8.2.2'
classpath 'org.ajoberstar.grgit:grgit-gradle:4.1.1'
classpath 'org.jacoco:org.jacoco.core:0.8.7'
classpath 'org.jacoco:org.jacoco.core:0.8.10'
}
}

Expand All @@ -19,6 +20,12 @@ subprojects {
google()
mavenCentral()
}

tasks.configureEach { task ->
if (task.name.contains("androidJavadoc")) {
task.enabled = false
}
}
}

ext.verifyKeystore()
Expand All @@ -40,11 +47,11 @@ try {
}

project.ext {
minSdkVersion = 16
compileSdkVersion = 33
minSdkVersion = 21
compileSdkVersion = 34

googleVersions = [
glide : '4.12.0',
glide : '4.16.0',
material : '1.3.0',
]

Expand All @@ -58,7 +65,7 @@ project.ext {
jodaVersion = '2.10.10'
}

task showVersion {
tasks.register('showVersion') {
doLast {
logger.lifecycle("Version ID: " + project.versionNum)
logger.lifecycle("Version Name: " + project.versionName)
Expand Down

0 comments on commit 040dbcd

Please sign in to comment.