Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ capabilities to enhance your app's image handling capabilities. Simple and conve

ICC profiles supported. Supports animations as well

Image processing speeded up by [libhwy](https://github.com/google/highway)

# Usage example

```kotlin
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "9.2.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.10" apply false
id("org.jetbrains.kotlin.android") version "2.3.21" apply false
id("com.android.library") version "9.2.1" apply false
id("com.google.devtools.ksp") version "2.3.2" apply false
}
2 changes: 0 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ kotlin.code.style=official
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true

SONATYPE_HOST=CENTRAL_PORTAL
SONATYPE_AUTOMATIC_RELEASE=true
android.defaults.buildfeatures.resvalues=true
android.sdk.defaultTargetSdkToCompileSdkIfUnset=false
android.enableAppCompileTimeRClass=false
Expand Down
18 changes: 10 additions & 8 deletions jxlcoder/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,13 @@ import com.vanniktech.maven.publish.SourcesJar
plugins {
id("com.android.library")
id("org.jetbrains.kotlin.android")
id("maven-publish")
id("signing")
id("com.vanniktech.maven.publish") version "0.36.0"
}


mavenPublishing {
if (System.getenv("PUBLISH_STATE") == "Release") {
publishToMavenCentral(
automaticRelease = true,
validateDeployment = DeploymentValidation.PUBLISHED
)
signAllPublications()
}

configure(
AndroidMultiVariantLibrary(
JavadocJar.Javadoc(),
Expand Down Expand Up @@ -59,6 +53,14 @@ mavenPublishing {
developerConnection.set("scm:git:ssh://git@github.com/awxkee/jxl-coder.git")
}
}

if (System.getenv("PUBLISH_STATE") == "Release") {
publishToMavenCentral(
automaticRelease = true,
validateDeployment = DeploymentValidation.PUBLISHED
)
signAllPublications()
}
}

android {
Expand Down
2 changes: 1 addition & 1 deletion jxlcoder/src/main/cpp/JxlEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <jni.h>
#include <string>
#include <vector>
#include <inttypes.h>
#include <cinttypes>
#include "android/bitmap.h"
#include <android/log.h>
#include "JniExceptions.h"
Expand Down
3 changes: 3 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ pluginManagement {
gradlePluginPortal()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
Expand Down