[Android] Update the classifier variable for gradle
Nicolas Pomepuy
git at videolan.org
Thu Oct 3 07:36:48 UTC 2024
vlc-android | branch: 3.5.x | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Oct 2 07:29:33 2024 +0200| [d87450b25e353b5fae7a2083db4954e34386cb15] | committer: Nicolas Pomepuy
Update the classifier variable for gradle
> https://code.videolan.org/videolan/vlc-android/commit/d87450b25e353b5fae7a2083db4954e34386cb15
---
application/vlc-android/build.gradle | 2 +-
buildsystem/publish.gradle | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/application/vlc-android/build.gradle b/application/vlc-android/build.gradle
index 4198f2ce76..a57e093b60 100644
--- a/application/vlc-android/build.gradle
+++ b/application/vlc-android/build.gradle
@@ -133,7 +133,7 @@ def generateTranslation() {
}
task generateSources(type: Jar) {
- classifier = 'sources'
+ archiveClassifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
diff --git a/buildsystem/publish.gradle b/buildsystem/publish.gradle
index 2753ff2a1a..af7420102a 100644
--- a/buildsystem/publish.gradle
+++ b/buildsystem/publish.gradle
@@ -11,7 +11,7 @@ def allLicenses = ["LGPL-2.1"]
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
- classifier = 'sources'
+ archiveClassifier = 'sources'
}
task javadoc(type: Javadoc) {
@@ -20,7 +20,7 @@ task javadoc(type: Javadoc) {
}
task javadocJar(type: Jar, dependsOn: javadoc) {
- classifier = 'javadoc'
+ archiveClassifier = 'javadoc'
from javadoc.destinationDir
}
More information about the Android
mailing list