react-native-pcm-player-lite 0.1.0 → 0.1.2

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.
@@ -8,26 +8,31 @@ buildscript {
8
8
  }
9
9
  }
10
10
 
11
- apply plugin: "com.android.library"
12
- apply plugin: "maven-publish"
11
+ plugins {
12
+ id 'com.android.library'
13
+ id 'org.jetbrains.kotlin.android'
14
+ id 'maven-publish'
15
+ }
13
16
 
14
17
  android {
15
- namespace "com.pcmplayer"
16
- compileSdkVersion 34
18
+ compileSdkVersion 34
17
19
 
18
- defaultConfig {
19
- minSdkVersion 21
20
- targetSdkVersion 34
21
- consumerProguardFiles "consumer-rules.pro"
22
- }
20
+ defaultConfig {
21
+ minSdkVersion 21
22
+ targetSdkVersion 34
23
+ }
23
24
 
24
- publishing {
25
- singleVariant("release") {
26
- withSourcesJar()
25
+ compileOptions {
26
+ sourceCompatibility JavaVersion.VERSION_17
27
+ targetCompatibility JavaVersion.VERSION_17
28
+ }
29
+
30
+ kotlinOptions {
31
+ jvmTarget = "17"
27
32
  }
28
- }
29
33
  }
30
34
 
35
+
31
36
  repositories {
32
37
  google()
33
38
  mavenCentral()
@@ -35,4 +40,5 @@ repositories {
35
40
 
36
41
  dependencies {
37
42
  implementation "com.facebook.react:react-android"
38
- }
43
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.22"
44
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-pcm-player-lite",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Ultra-small native module to play streaming 16-bit PCM (mono) in React Native (Android + iOS).",
5
5
  "license": "MIT",
6
6
  "author": "Anas Syed <me@anasyd.com>",