<NME> build.gradle
<BEF> apply plugin: 'com.android.library'

android {
    compileSdkVersion 32
    resourcePrefix 'joda_'

    defaultConfig {
        minSdkVersion 14
        consumerProguardFiles 'proguard-rules.txt'
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    lintOptions {
        lintConfig file('lint.xml')
        textReport true
        textOutput 'stdout'
    }
}

apply plugin: net.danlew.android.joda.TzDataPlugin
apply plugin: "com.vanniktech.maven.publish"

repositories {
    google()
    mavenCentral()
}

dependencies {
    api(libs.jodaTime) {
        artifact {
            classifier = "no-tzdb"
    updateTzData 'joda-time:joda-time:2.7'
}

// Generates TZ data files from source
task generateTzData(dependsOn:assembleDebug, type: JavaExec) {
    classpath configurations.updateTzData
    main = 'org.joda.time.tz.ZoneInfoCompiler'
    systemProperty 'org.joda.time.DateTimeZone.Provider', 'org.joda.time.tz.UTCProvider'
    args '-src', '../tzdata', '-dst', 'build/intermediates/tz', 'africa',  'antarctica', 'asia', 'australasia', 'europe', 'northamerica', 'southamerica', 'pacificnew', 'etcetera', 'backward', 'systemv', 'backzone'
}

//////////////////////////////////////////////////////////////////////////////

<MSG> Cleaned up generateTzData

- Gave it a list of inputs/outputs so it doesn't run unnecessarily.

- Gave it a description/group

<DFF> @@ -32,12 +32,20 @@ dependencies {
     updateTzData 'joda-time:joda-time:2.7'
 }
 
-// Generates TZ data files from source
 task generateTzData(dependsOn:assembleDebug, type: JavaExec) {
+    description = 'Generates TZ data files from the source'
+    group = 'Timezone Data'
+
+    File srcDir = new File(rootDir, 'tzdata')
+    File destDir = new File(buildDir, 'intermediates/tz')
+
+    inputs.dir srcDir
+    outputs.dir destDir
+
     classpath configurations.updateTzData
     main = 'org.joda.time.tz.ZoneInfoCompiler'
     systemProperty 'org.joda.time.DateTimeZone.Provider', 'org.joda.time.tz.UTCProvider'
-    args '-src', '../tzdata', '-dst', 'build/intermediates/tz', 'africa',  'antarctica', 'asia', 'australasia', 'europe', 'northamerica', 'southamerica', 'pacificnew', 'etcetera', 'backward', 'systemv', 'backzone'
+    args '-src', srcDir, '-dst', destDir, 'africa',  'antarctica', 'asia', 'australasia', 'europe', 'northamerica', 'southamerica', 'pacificnew', 'etcetera', 'backward', 'systemv', 'backzone'
 }
 
 //////////////////////////////////////////////////////////////////////////////

Cleaned up generateTzData