Skip to content

Commit 0544eb7

Browse files
committed
Fix jitpack build
1 parent 74443eb commit 0544eb7

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repositories {
3232
```
3333

3434
```groovy
35-
implementation 'com.github.awxkee:avif-coder:1.0.19' // or any version above picker from release tags
35+
implementation 'com.github.awxkee:avif-coder:1.0.20' // or any version above picker from release tags
3636
```
3737

3838
# Also supports coil integration

app/src/main/cpp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Sets the minimum version of CMake required to build the native library.
55

6-
cmake_minimum_required(VERSION 3.18.1)
6+
cmake_minimum_required(VERSION 3.22.1)
77

88
# Declares and names the project.
99

avif-coder/build.gradle.kts

+13
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,21 @@
33
plugins {
44
id("com.android.library")
55
id("org.jetbrains.kotlin.android")
6+
id("maven-publish")
67
}
78

9+
afterEvaluate {
10+
publishing {
11+
publications {
12+
create<MavenPublication>("mavenJava") {
13+
groupId = "com.github.awxkee"
14+
artifactId = "avif-coder"
15+
version = "1.0.20"
16+
from(components["release"])
17+
}
18+
}
19+
}
20+
}
821

922
android {
1023
namespace = "com.github.awxkee.avifcoder"

0 commit comments

Comments
 (0)