@exxili/capacitor-nfc 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,67 +1,67 @@
1
- ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
6
- }
7
-
8
- buildscript {
9
- ext {
10
- kotlin_version = '2.1.21'
11
- }
12
- repositories {
13
- google()
14
- mavenCentral()
15
- }
16
- dependencies {
17
- classpath 'com.android.tools.build:gradle:8.2.2'
18
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
19
- }
20
- }
21
-
22
- apply plugin: 'com.android.library'
23
- apply plugin: 'org.jetbrains.kotlin.android'
24
-
25
- android {
26
- namespace "com.exxili.capacitornfc"
27
- compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
28
- defaultConfig {
29
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 33
30
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
31
- versionCode 1
32
- versionName "1.0"
33
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
34
- }
35
- buildTypes {
36
- release {
37
- minifyEnabled false
38
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
39
- }
40
- }
41
- lintOptions {
42
- abortOnError false
43
- }
44
- compileOptions {
45
- sourceCompatibility JavaVersion.VERSION_17
46
- targetCompatibility JavaVersion.VERSION_17
47
- }
48
- kotlinOptions {
49
- jvmTarget = '17'
50
- }
51
- }
52
-
53
- repositories {
54
- google()
55
- mavenCentral()
56
- }
57
-
58
-
59
- dependencies {
60
- implementation fileTree(dir: 'libs', include: ['*.jar'])
61
- implementation project(':capacitor-android')
62
- implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
63
- implementation 'androidx.core:core-ktx:1.16.0'
64
- testImplementation "junit:junit:$junitVersion"
65
- androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
66
- androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
67
- }
1
+ ext {
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
6
+ }
7
+
8
+ buildscript {
9
+ ext {
10
+ kotlin_version = '2.1.21'
11
+ }
12
+ repositories {
13
+ google()
14
+ mavenCentral()
15
+ }
16
+ dependencies {
17
+ classpath 'com.android.tools.build:gradle:8.2.2'
18
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
19
+ }
20
+ }
21
+
22
+ apply plugin: 'com.android.library'
23
+ apply plugin: 'org.jetbrains.kotlin.android'
24
+
25
+ android {
26
+ namespace "com.exxili.capacitornfc"
27
+ compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
28
+ defaultConfig {
29
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 33
30
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
31
+ versionCode 1
32
+ versionName "1.0"
33
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
34
+ }
35
+ buildTypes {
36
+ release {
37
+ minifyEnabled false
38
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
39
+ }
40
+ }
41
+ lintOptions {
42
+ abortOnError false
43
+ }
44
+ compileOptions {
45
+ sourceCompatibility JavaVersion.VERSION_17
46
+ targetCompatibility JavaVersion.VERSION_17
47
+ }
48
+ kotlinOptions {
49
+ jvmTarget = '17'
50
+ }
51
+ }
52
+
53
+ repositories {
54
+ google()
55
+ mavenCentral()
56
+ }
57
+
58
+
59
+ dependencies {
60
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
61
+ implementation project(':capacitor-android')
62
+ implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
63
+ implementation 'androidx.core:core-ktx:1.16.0'
64
+ testImplementation "junit:junit:$junitVersion"
65
+ androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
66
+ androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
67
+ }
@@ -1,2 +1,2 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
- </manifest>
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ </manifest>
@@ -1,11 +1,11 @@
1
- package com.exxili.capacitornfc
2
-
3
- import android.os.Bundle
4
- import com.getcapacitor.BridgeActivity
5
-
6
- class MainActivity : BridgeActivity() {
7
- public override fun onCreate(savedInstanceState: Bundle?) {
8
- super.onCreate(savedInstanceState)
9
- registerPlugin(NFCPlugin::class.java)
10
- }
11
- }
1
+ package com.exxili.capacitornfc
2
+
3
+ import android.os.Bundle
4
+ import com.getcapacitor.BridgeActivity
5
+
6
+ class MainActivity : BridgeActivity() {
7
+ public override fun onCreate(savedInstanceState: Bundle?) {
8
+ super.onCreate(savedInstanceState)
9
+ registerPlugin(NFCPlugin::class.java)
10
+ }
11
+ }