Skip to content

Commit

Permalink
inline condition and removed the unused definers / variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sullyAL committed Sep 7, 2023
1 parent 17ae8b4 commit 0a63201
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ buildscript {
}
}

// Check the Gradle version
def gradleVersion = GradleVersion.current()
def requiredGradleVersion = GradleVersion.version('8.0')

// Creating sources with comments
if (gradleVersion < requiredGradleVersion) {
if (GradleVersion.current() < GradleVersion.version('8.0')) {
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
Expand Down

0 comments on commit 0a63201

Please sign in to comment.