Skip to content

Commit b1a4d5d

Browse files
committed
Merge branch 'develop'
# Conflicts: # LICENSE.txt
2 parents 784a669 + 5de34cb commit b1a4d5d

23 files changed

+103
-124
lines changed

.github/workflows/publish-release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,32 @@ on:
44
types: [ released ]
55
jobs:
66
build:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
with:
1212
submodules: true
1313

14-
- name: Set up JDK 11
15-
uses: actions/setup-java@v2
14+
- name: Set up JDK 17
15+
uses: actions/setup-java@v3
1616
with:
17-
distribution: adopt
18-
java-version: 11
17+
distribution: temurin
18+
java-version: 17
1919

2020
- name: Setup the environment
2121
run: |
22-
sudo pip3 install meson==0.58.2
22+
sudo pip3 install meson==1.2.2
2323
sudo apt-get install nasm ninja-build
2424
2525
- name: Assembling the ffmpeg-android-maker
2626
run: |
2727
export ANDROID_SDK_HOME=$ANDROID_HOME
2828
export ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME
29-
./ffmpeg-android-maker/ffmpeg-android-maker.sh -dav1d -android=16
29+
./ffmpeg-android-maker/ffmpeg-android-maker.sh -dav1d
3030
31-
- name: Building the library, preparing sources and docs
32-
run: ./gradlew assembleRelease androidSourcesJar javadocJar
31+
- name: Building the library
32+
run: ./gradlew assembleRelease
3333

3434
- name: Pushing the library to Maven Central
3535
run: ./gradlew publishReleasePublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository --max-workers 1

.github/workflows/publish-snapshot.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@ on:
55
- develop
66
jobs:
77
build:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
with:
1313
submodules: true
1414

15-
- name: Set up JDK 11
16-
uses: actions/setup-java@v2
15+
- name: Set up JDK 17
16+
uses: actions/setup-java@v3
1717
with:
18-
distribution: adopt
19-
java-version: 11
18+
distribution: temurin
19+
java-version: 17
2020

2121
- name: Setup the environment
2222
run: |
23-
sudo pip3 install meson==0.58.2
23+
sudo pip3 install meson==1.2.2
2424
sudo apt-get install nasm ninja-build
2525
2626
- name: Assembling the ffmpeg-android-maker
2727
run: |
2828
export ANDROID_SDK_HOME=$ANDROID_HOME
2929
export ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME
30-
./ffmpeg-android-maker/ffmpeg-android-maker.sh -dav1d -android=16
30+
./ffmpeg-android-maker/ffmpeg-android-maker.sh -dav1d
3131
32-
- name: Building the library, preparing sources and docs
33-
run: ./gradlew assembleRelease androidSourcesJar javadocJar
32+
- name: Building the library
33+
run: ./gradlew assembleRelease
3434

3535
- name: Pushing the library to Maven Central (SNAPSHOT)
3636
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Oleksandr Berezhnyi
3+
Copyright (c) 2023 Oleksandr Berezhnyi
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MediaFile
22

3-
[![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16)
3+
[![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21)
44
[![MIT license](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Javernaut/WhatTheCodec/blob/master/LICENSE.txt)
55
[![Android Weekly #378](https://androidweekly.net/issues/issue-378/badge)](https://androidweekly.net/issues/issue-378)
66
[![Android Weekly #396](https://androidweekly.net/issues/issue-396/badge)](https://androidweekly.net/issues/issue-396)

build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ buildscript {
1414
}
1515
}
1616
dependencies {
17-
classpath "com.android.tools.build:gradle:7.1.2"
18-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
19-
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.5.0"
20-
classpath 'io.github.gradle-nexus:publish-plugin:1.1.0'
17+
classpath "com.android.tools.build:gradle:8.1.3"
18+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20"
19+
classpath 'io.github.gradle-nexus:publish-plugin:1.3.0'
2120
}
2221
}
2322

24-
task clean(type: Delete) {
23+
tasks.register('clean', Delete) {
2524
delete rootProject.buildDir
2625
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1616
# https://developer.android.com/topic/libraries/support-library/androidx-rn
1717
android.useAndroidX=true
1818
# Automatically convert third-party libraries to use AndroidX
19-
android.enableJetifier=true
19+
android.enableJetifier=false
2020
# Kotlin code style for this project: "official" or "obsolete":
2121
kotlin.code.style=official
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Aug 01 14:10:35 EEST 2021
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

media-file/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake_minimum_required(VERSION 3.4.1)
2+
project(MediaFile)
23

34
set(ffmpeg_dir ${CMAKE_SOURCE_DIR}/../ffmpeg-android-maker/output)
45
set(ffmpeg_libs ${ffmpeg_dir}/lib/${ANDROID_ABI})

media-file/build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ ext {
1010
apply from: "${rootDir}/scripts/publish-module.gradle"
1111

1212
android {
13-
compileSdk 30
13+
namespace = 'io.github.javernaut.mediafile'
14+
compileSdk 34
1415

1516
defaultConfig {
16-
minSdk 16
17-
targetSdk 30
17+
minSdk 21
18+
targetSdk 34
1819
versionCode 1
1920
versionName "1.0"
2021

@@ -39,7 +40,7 @@ android {
3940
kotlinOptions {
4041
jvmTarget = '1.8'
4142
}
42-
ndkVersion "23.0.7599858"
43+
ndkVersion "26.1.10909125"
4344
externalNativeBuild {
4445
cmake {
4546
path "CMakeLists.txt"
@@ -48,18 +49,18 @@ android {
4849
}
4950

5051
dependencies {
51-
implementation 'androidx.annotation:annotation:1.2.0'
52+
implementation 'androidx.annotation:annotation:1.7.0'
5253

53-
def testLibsVersion = "1.4.0"
54+
def testLibsVersion = "1.5.0"
5455

5556
// Core library
5657
androidTestImplementation "androidx.test:core:$testLibsVersion"
5758

5859
// AndroidJUnitRunner and JUnit Rules
59-
androidTestImplementation "androidx.test:runner:$testLibsVersion"
60+
androidTestImplementation "androidx.test:runner:1.5.2"
6061
androidTestImplementation "androidx.test:rules:$testLibsVersion"
6162

6263
// Assertions
63-
androidTestImplementation "androidx.test.ext:junit:1.1.3"
64+
androidTestImplementation "androidx.test.ext:junit:1.1.5"
6465
androidTestImplementation "androidx.test.ext:truth:$testLibsVersion"
6566
}

0 commit comments

Comments
 (0)