expo-image-loader 4.6.0 → 4.7.0

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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 4.7.0 — 2024-04-18
14
+
15
+ ### 💡 Others
16
+
17
+ - Removed deprecated backward compatible Gradle settings. ([#28083](https://github.com/expo/expo/pull/28083) by [@kudo](https://github.com/kudo))
18
+
13
19
  ## 4.6.0 — 2023-11-14
14
20
 
15
21
  ### 🛠 Breaking changes
@@ -1,115 +1,32 @@
1
1
  apply plugin: 'com.android.library'
2
- apply plugin: 'kotlin-android'
3
- apply plugin: 'maven-publish'
4
2
 
5
3
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
6
- if (expoModulesCorePlugin.exists()) {
7
- apply from: expoModulesCorePlugin
8
- applyKotlinExpoModulesCorePlugin()
9
- // Remove this check, but keep the contents after SDK49 support is dropped
10
- if (safeExtGet("expoProvidesDefaultConfig", false)) {
11
- useExpoPublishing()
12
- useCoreDependencies()
13
- }
14
- }
4
+ apply from: expoModulesCorePlugin
5
+ applyKotlinExpoModulesCorePlugin()
6
+ useCoreDependencies()
7
+ useDefaultAndroidSdkVersions()
8
+ useExpoPublishing()
15
9
 
16
10
  buildscript {
17
11
  // Simple helper that allows the root project to override versions declared by this library.
18
12
  ext.safeExtGet = { prop, fallback ->
19
13
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
20
14
  }
21
-
22
- // Ensures backward compatibility
23
- ext.getKotlinVersion = {
24
- if (ext.has("kotlinVersion")) {
25
- ext.kotlinVersion()
26
- } else {
27
- ext.safeExtGet("kotlinVersion", "1.8.10")
28
- }
29
- }
30
-
31
- repositories {
32
- mavenCentral()
33
- }
34
-
35
- dependencies {
36
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${getKotlinVersion()}")
37
- }
38
15
  }
39
16
 
40
17
  group = 'host.exp.exponent'
41
- version = '4.6.0'
42
-
43
- // Remove this if and it's contents, when support for SDK49 is dropped
44
- if (!safeExtGet("expoProvidesDefaultConfig", false)) {
45
- afterEvaluate {
46
- publishing {
47
- publications {
48
- release(MavenPublication) {
49
- from components.release
50
- }
51
- }
52
- repositories {
53
- maven {
54
- url = mavenLocal().url
55
- }
56
- }
57
- }
58
- }
59
- }
18
+ version = '4.7.0'
60
19
 
61
20
  android {
62
- // Remove this if and it's contents, when support for SDK49 is dropped
63
- if (!safeExtGet("expoProvidesDefaultConfig", false)) {
64
- compileSdkVersion safeExtGet("compileSdkVersion", 34)
65
-
66
- defaultConfig {
67
- minSdkVersion safeExtGet("minSdkVersion", 23)
68
- targetSdkVersion safeExtGet("targetSdkVersion", 34)
69
- }
70
-
71
- publishing {
72
- singleVariant("release") {
73
- withSourcesJar()
74
- }
75
- }
76
-
77
- lintOptions {
78
- abortOnError false
79
- }
80
- }
81
-
82
- def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
83
- if (agpVersion.tokenize('.')[0].toInteger() < 8) {
84
- compileOptions {
85
- sourceCompatibility JavaVersion.VERSION_11
86
- targetCompatibility JavaVersion.VERSION_11
87
- }
88
-
89
- kotlinOptions {
90
- jvmTarget = JavaVersion.VERSION_11.majorVersion
91
- }
92
- }
93
-
94
21
  namespace "expo.modules.imageloader"
95
22
  defaultConfig {
96
23
  versionCode 8
97
- versionName "4.6.0"
24
+ versionName "4.7.0"
98
25
  }
99
26
  }
100
27
 
101
- repositories {
102
- mavenCentral()
103
- }
104
-
105
28
  def glideVersion = safeExtGet('glideVersion', '4.16.0')
106
29
 
107
30
  dependencies {
108
- // Remove this if and it's contents, when support for SDK49 is dropped
109
- if (!safeExtGet("expoProvidesDefaultConfig", false)) {
110
- implementation project(':expo-modules-core')
111
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}"
112
- }
113
-
114
31
  api "com.github.bumptech.glide:glide:${glideVersion}"
115
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-image-loader",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "Image loader",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -24,5 +24,5 @@
24
24
  "peerDependencies": {
25
25
  "expo": "*"
26
26
  },
27
- "gitHead": "3142a086578deffd8704a8f1b6f0f661527d836c"
27
+ "gitHead": "4165b8d72e1b9a1889c2767534cc619e21468110"
28
28
  }