Skip to content

Commit

Permalink
Removed CPP methods, as they are translated in java.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrudu committed Dec 20, 2024
1 parent e894386 commit cbb95fe
Show file tree
Hide file tree
Showing 13 changed files with 315 additions and 937 deletions.
22 changes: 3 additions & 19 deletions PrintWrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,22 @@ plugins {
ext {
PUBLISH_GROUP_ID = 'com.zebra.printwrapper'
PUBLISH_ARTIFACT_ID = 'printwrapper'
PUBLISH_VERSION = '1.15'
PUBLISH_VERSION = '1.16'
}

android {
namespace 'com.zebra.printwrapper'

ndkVersion '28.0.12674087 rc2'
compileSdkVersion 34

defaultConfig {
minSdkVersion 24
targetSdkVersion 34
versionCode 15
versionName "1.15"
versionCode 16
versionName "1.16"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"

externalNativeBuild {
cmake {
cppFlags "-std=c++14"
}
}
ndk {
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
}
}

buildTypes {
Expand All @@ -46,12 +36,6 @@ android {
debuggable true
}
}
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.22.1"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
Expand Down
17 changes: 0 additions & 17 deletions PrintWrapper/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,3 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

#-renamesourcefileattribute SourceFile
#noinspection ShrinkerUnresolvedReference
-keepclassmembers class **.RasterizationHelper {
native <methods>;
#noinspection ShrinkerUnresolvedReference
String getUtilsVersion();
#noinspection ShrinkerUnresolvedReference,ShrinkerUnresolvedReference
String createBitmapZPL(Bitmap);
#noinspection ShrinkerUnresolvedReference,ShrinkerUnresolvedReference
String createBitmapCPC(Bitmap);
}

# Parceler library
-keep interface org.parceler.Parcel
-keep @org.parceler.Parcel class * { *; }
-keep class **$$Parcelable { *; }
47 changes: 0 additions & 47 deletions PrintWrapper/src/main/cpp/CMakeLists.txt

This file was deleted.

135 changes: 0 additions & 135 deletions PrintWrapper/src/main/cpp/CPCHelper.cpp

This file was deleted.

43 changes: 0 additions & 43 deletions PrintWrapper/src/main/cpp/Internal.h

This file was deleted.

Loading

0 comments on commit cbb95fe

Please sign in to comment.