Skip to content

Commit

Permalink
[build-logic] Drop redundant definition of getAndroidRuntimeJar()
Browse files Browse the repository at this point in the history
This is also defined in global-conventions.gradle.
  • Loading branch information
Flowdalic committed Oct 22, 2024
1 parent 6498ca7 commit 6c5e64b
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,17 +323,6 @@ def getGitCommit() {
gitCommit
}

def getAndroidRuntimeJar() {
def androidHome = new File("$System.env.ANDROID_HOME")
if (!androidHome.isDirectory()) throw new Exception("ANDROID_HOME not found or set")
def androidJar = new File("$androidHome/platforms/android-$smackMinAndroidSdk/android.jar")
if (androidJar.isFile()) {
return androidJar
} else {
throw new Exception("Can't find android.jar for $smackMinAndroidSdk API. Please install corresponding SDK platform package")
}
}

def readVersionFile() {
def versionFile = new File(rootDir, 'version')
if (!versionFile.isFile()) {
Expand Down

0 comments on commit 6c5e64b

Please sign in to comment.