<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 {
}

dependencies {
    compile 'joda-time:joda-time:2.8:no-tzdb'
    updateTzData 'joda-time:joda-time:2.8'
}

task generateTzData(dependsOn: assembleDebug, type: JavaExec) {
    implementation libs.androidx.annotation

    androidTestImplementation libs.junit
    androidTestImplementation libs.androidx.test.core
    androidTestImplementation libs.androidx.test.runner
    androidTestImplementation libs.androidx.test.rules
    androidTestImplementation libs.androidx.test.ext.junit
}

tzdata {
    tzDataDir = new File(project.rootDir, 'tzdata')
}

<MSG> Updated to joda-time 2.8.1

<DFF> @@ -29,8 +29,8 @@ configurations {
 }
 
 dependencies {
-    compile 'joda-time:joda-time:2.8:no-tzdb'
-    updateTzData 'joda-time:joda-time:2.8'
+    compile 'joda-time:joda-time:2.8.1:no-tzdb'
+    updateTzData 'joda-time:joda-time:2.8.1'
 }
 
 task generateTzData(dependsOn: assembleDebug, type: JavaExec) {

Updated to joda-time 2.8.1