expo-line-login 1.0.2 → 1.0.4

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,90 +1,50 @@
1
1
  apply plugin: 'com.android.library'
2
- apply plugin: 'kotlin-android'
3
- apply plugin: 'maven-publish'
4
2
 
5
3
  group = 'dev.stanma.line'
6
4
  version = '0.1.0'
7
5
 
8
- buildscript {
9
- def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
10
- if (expoModulesCorePlugin.exists()) {
11
- apply from: expoModulesCorePlugin
12
- applyKotlinExpoModulesCorePlugin()
13
- }
14
-
15
- // Simple helper that allows the root project to override versions declared by this library.
16
- ext.safeExtGet = { prop, fallback ->
17
- rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
18
- }
19
-
20
- // Ensures backward compatibility
21
- ext.getKotlinVersion = {
22
- if (ext.has("kotlinVersion")) {
23
- ext.kotlinVersion()
24
- } else {
25
- ext.safeExtGet("kotlinVersion", "1.8.10")
6
+ def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
+ apply from: expoModulesCorePlugin
8
+ applyKotlinExpoModulesCorePlugin()
9
+ useCoreDependencies()
10
+ useExpoPublishing()
11
+
12
+ def useManagedAndroidSdkVersions = false
13
+
14
+ if (useManagedAndroidSdkVersions) {
15
+ useDefaultAndroidSdkVersions()
16
+ } else {
17
+ buildscript {
18
+ // Simple helper that allows the root project to override versions declared by this library.
19
+ ext.safeExtGet = { prop, fallback ->
20
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
26
21
  }
27
22
  }
28
-
29
- repositories {
30
- mavenCentral()
31
- }
32
-
33
- dependencies {
34
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${getKotlinVersion()}")
35
- }
36
- }
37
-
38
- afterEvaluate {
39
- publishing {
40
- publications {
41
- release(MavenPublication) {
42
- from components.release
43
- }
23
+ project.android {
24
+ compileSdkVersion safeExtGet("compileSdkVersion", 34)
25
+ defaultConfig {
26
+ minSdkVersion safeExtGet("minSdkVersion", 24)
27
+ targetSdkVersion safeExtGet("targetSdkVersion", 34)
44
28
  }
45
- repositories {
46
- maven {
47
- url = mavenLocal().url
48
- }
29
+
30
+ lintOptions {
31
+ abortOnError false
49
32
  }
50
33
  }
51
34
  }
52
35
 
53
36
  android {
54
- compileSdkVersion safeExtGet("compileSdkVersion", 33)
55
-
56
- compileOptions {
57
- sourceCompatibility JavaVersion.VERSION_11
58
- targetCompatibility JavaVersion.VERSION_11
59
- }
60
-
61
- kotlinOptions {
62
- jvmTarget = JavaVersion.VERSION_11.majorVersion
63
- }
64
-
65
37
  namespace "dev.stanma.line"
66
38
  defaultConfig {
67
- minSdkVersion safeExtGet("minSdkVersion", 24)
68
- targetSdkVersion safeExtGet("targetSdkVersion", 33)
69
39
  versionCode 1
70
40
  versionName "0.1.0"
71
41
  }
72
42
  lintOptions {
73
43
  abortOnError false
74
44
  }
75
- publishing {
76
- singleVariant("release") {
77
- withSourcesJar()
78
- }
79
- }
80
- }
81
-
82
- repositories {
83
- mavenCentral()
84
45
  }
85
46
 
86
47
  dependencies {
87
48
  implementation project(':expo-modules-core')
88
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}"
89
49
  implementation "com.linecorp.linesdk:linesdk:latest.release"
90
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-line-login",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Integrate LINE login to Expo App",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -30,8 +30,8 @@
30
30
  "homepage": "https://github.com/stanma9107/expo-line-login#readme",
31
31
  "devDependencies": {
32
32
  "@types/react": "^18.0.25",
33
- "expo-module-scripts": "^3.0.11",
34
- "expo-modules-core": "^1.5.11",
33
+ "expo-module-scripts": "^3.5.2",
34
+ "expo-modules-core": "^1.12.26",
35
35
  "husky": "^8.0.3"
36
36
  },
37
37
  "peerDependencies": {
File without changes
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="GradleSettings">
4
- <option name="linkedExternalProjectsSettings">
5
- <GradleProjectSettings>
6
- <option name="externalProjectPath" value="$PROJECT_DIR$" />
7
- <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
8
- <option name="resolveExternalAnnotations" value="false" />
9
- </GradleProjectSettings>
10
- </option>
11
- </component>
12
- </project>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectMigrations">
4
- <option name="MigrateToGradleLocalJavaHome">
5
- <set>
6
- <option value="$PROJECT_DIR$" />
7
- </set>
8
- </option>
9
- </component>
10
- </project>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ExternalStorageConfigurationManager" enabled="true" />
4
- <component name="ProjectRootManager">
5
- <output url="file://$PROJECT_DIR$/build/classes" />
6
- </component>
7
- <component name="ProjectType">
8
- <option name="id" value="Android" />
9
- </component>
10
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
- </component>
6
- </project>
File without changes