Skip to content

Commit 123321b

Browse files
Move pdf2htmlEX-Android project to app.opendocument group
1 parent cd07da3 commit 123321b

14 files changed

Lines changed: 81 additions & 77 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ permissions:
3838

3939
jobs:
4040
releaseSonatype:
41-
environment: LibraryKeyAndSonatypeAccess
41+
environment: OpenDocumentAppRelease
4242
runs-on: ubuntu-22.04
4343
steps:
4444
- uses: actions/checkout@v4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Made possible by [ndkports](https://github.com/ViliusSutkus89/ndkports) (a colle
1919
pdf2htmlEX-Android is distributed through MavenCentral. Add a dependency in `build.gradle`:
2020
```groovy
2121
dependencies {
22-
implementation 'com.viliussutkus89:pdf2htmlex-android:0.18.23'
22+
implementation("app.opendocument:pdf2htmlex-android:0.18.23")
2323
}
2424
```
2525

2626
### Usage:
2727
Library is interfaced through Java.
2828
```Java
29-
import com.viliussutkus89.android.pdf2htmlex.pdf2htmlEX;
29+
import app.opendocument.android.pdf2htmlex.pdf2htmlEX;
3030
...
3131
java.io.File inputPdf = new java.io.File(getFilesDir(), "my.pdf");
3232
java.io.File outputHTML = new pdf2htmlEX(getApplicationContext()).setInputPDF(inputPdf).convert();

ci-scripts/updateDownstreamVersion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ my $versionUpdater = fileUpdater->new({ rootDirectory => $rootDirectory });
5252

5353
$versionUpdater->update('README.md', sub {
5454
$_ = shift;
55-
s/^(\s+implementation\s+['"]com\.viliussutkus89\:pdf2htmlex-android\:)[\d\.]+(['"])$/${1}${version}${2}/;
55+
s/^(\s+implementation\(['"]app\.opendocument\:pdf2htmlex-android\:)[\d\.]+(['"]\))$/${1}${version}${2}/;
5656
return $_;
5757
});
5858

pdf2htmlEX/build.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/*
22
* pdf2htmlEX/build.gradle
33
*
4-
* pdf2htmlEX-Android (https://github.com/ViliusSutkus89/pdf2htmlEX-Android)
5-
* Android port of pdf2htmlEX - Convert PDF to HTML without losing text or format.
4+
* pdf2htmlEX-Android (https://github.com/opendocument-app/pdf2htmlEX-Android)
5+
* pdf2htmlEX library port for Android - Convert PDF to HTML without losing text or format.
66
*
77
* Copyright (c) 2019 - 2023 ViliusSutkus89.com
88
*
9-
* This program is free software: you can redistribute it and/or modify
9+
* pdf2htmlEX-Android is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License version 3 as
1111
* published by the Free Software Foundation.
1212
*
13-
* This program is distributed in the hope that it will be useful,
13+
* pdf2htmlEX-Android is distributed in the hope that it will be useful,
1414
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1515
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1616
* GNU General Public License for more details.
@@ -25,10 +25,10 @@ plugins {
2525
id 'signing'
2626
}
2727

28-
group = 'com.viliussutkus89'
28+
group = 'app.opendocument'
2929

3030
android {
31-
namespace "com.viliussutkus89.android.pdf2htmlex"
31+
namespace "app.opendocument.android.pdf2htmlex"
3232
compileSdk 34
3333

3434
defaultConfig {
@@ -84,20 +84,20 @@ publishing {
8484

8585
pom {
8686
name = rootProject.name
87-
description = 'Android port of pdf2htmlEX - Convert PDF to HTML without losing text or format'
88-
url = 'https://github.com/ViliusSutkus89/pdf2htmlEX-Android'
87+
description = 'pdf2htmlEX library port for Android - Convert PDF to HTML without losing text or format'
88+
url = 'https://github.com/opendocument-app/pdf2htmlEX-Android'
8989
packaging = 'aar'
9090
inceptionYear = '2019'
9191
developers {
9292
developer {
9393
id = "ViliusSutkus89"
9494
name = "Vilius Sutkus"
95-
email = "ViliusSutkus89@gmail.com"
95+
email = "Vilius@ViliusSutkus89.com"
9696
}
9797
}
9898
scm {
99-
url = 'https://github.com/ViliusSutkus89/pdf2htmlEX-Android'
100-
connection = 'https://github.com/ViliusSutkus89/pdf2htmlEX-Android.git'
99+
url = 'https://github.com/opendocument-app/pdf2htmlEX-Android'
100+
connection = 'https://github.com/opendocument-app/pdf2htmlEX-Android.git'
101101
}
102102
licenses {
103103
license {

pdf2htmlEX/src/androidTest/java/com/viliussutkus89/android/pdf2htmlex/ConversionTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
import java.util.List;
4242
import java.util.concurrent.TimeUnit;
4343

44+
import app.opendocument.android.pdf2htmlex.pdf2htmlEX;
45+
4446

4547
@LargeTest
4648
@RunWith(Parameterized.class)

pdf2htmlEX/src/androidTest/java/com/viliussutkus89/android/pdf2htmlex/EncryptedPdfTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
import java.io.File;
4040
import java.util.concurrent.TimeUnit;
4141

42+
import app.opendocument.android.pdf2htmlex.pdf2htmlEX;
43+
4244

4345
@LargeTest
4446
@RunWith(AndroidJUnit4.class)

pdf2htmlEX/src/main/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Copyright (c) 2019, 2020 Vilius Sutkus <ViliusSutkus89@gmail.com>
77
#
8-
# This program is free software: you can redistribute it and/or modify
8+
# pdf2htmlEX-Android is free software: you can redistribute it and/or modify
99
# it under the terms of the GNU General Public License version 3 as
1010
# published by the Free Software Foundation.
1111
#

pdf2htmlEX/src/main/cpp/EnvVar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <jni.h>
33

44
JNIEXPORT void JNICALL
5-
Java_com_viliussutkus89_android_pdf2htmlex_EnvVar_set(JNIEnv *env, __attribute__((unused)) jclass clazz,
5+
Java_app_opendocument_android_pdf2htmlex_EnvVar_set(JNIEnv *env, __attribute__((unused)) jclass clazz,
66
jstring key, jstring value) {
77
const char *key_c = (*env)->GetStringUTFChars(env, key, JNI_FALSE);
88
const char *value_c = (*env)->GetStringUTFChars(env, value, JNI_FALSE);

0 commit comments

Comments
 (0)