Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libvlcjni
Manage
Activity
Members
Labels
Plan
Issues
11
Issue boards
Milestones
Wiki
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
libvlcjni
Merge requests
!28
Fix the vlc hash generation and add a libvlcjni revision string
代码
评审变更
检出分支
下载
补丁
文本差异
Merged
Fix the vlc hash generation and add a libvlcjni revision string
Aza/libvlcjni:vlc_hash
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Nicolas Pomepuy
requested to merge
Aza/libvlcjni:vlc_hash
into
master
2 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
965402da
1 commit,
2 years ago
1 file
+
11
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
libvlc/build.gradle
+
11
−
1
Options
@@ -12,6 +12,7 @@ android {
compileSdkVersion
rootProject
.
ext
.
compileSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
minSdkVersion
rootProject
.
ext
.
minSdkVersion
resValue
"string"
,
"build_libvlc_revision"
,
libvlcRevision
()
resValue
"string"
,
"build_vlc_revision"
,
vlcRevision
()
tasks
.
whenTaskAdded
{
task
->
if
(
task
.
name
.
startsWith
(
'merge'
))
{
@@ -93,7 +94,7 @@ dependencies {
api
"androidx.legacy:legacy-support-v4:$rootProject.ext.androidxLegacyVersion"
}
def
vlcRevision
()
{
def
lib
vlcRevision
()
{
def
vlc
=
new
ByteArrayOutputStream
()
exec
{
commandLine
'git'
,
'rev-parse'
,
'--short'
,
'HEAD'
@@ -102,6 +103,15 @@ def vlcRevision() {
return
vlc
.
toString
()
}
def
vlcRevision
()
{
def
vlc
=
new
ByteArrayOutputStream
()
exec
{
commandLine
'sh'
,
'-c'
,
'cd ../../vlc && git rev-parse --short HEAD'
standardOutput
=
vlc
}
return
vlc
.
toString
()
}
mavenPublish
{
releaseSigningEnabled
=
false
}
Loading