expo-image-picker 12.0.1 → 12.0.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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 12.0.2 — 2022-02-01
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix `Plugin with id 'maven' not found` build error from Android Gradle 7. ([#16080](https://github.com/expo/expo/pull/16080) by [@kudo](https://github.com/kudo))
18
+
13
19
  ## 12.0.1 — 2021-12-15
14
20
 
15
21
  ### 🐛 Bug fixes
@@ -1,9 +1,9 @@
1
1
  apply plugin: 'com.android.library'
2
2
  apply plugin: 'kotlin-android'
3
- apply plugin: 'maven'
3
+ apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '12.0.1'
6
+ version = '12.0.2'
7
7
 
8
8
  buildscript {
9
9
  // Simple helper that allows the root project to override versions declared by this library.
@@ -21,27 +21,25 @@ buildscript {
21
21
  }
22
22
 
23
23
 
24
- // Upload android library to maven with javadoc and android sources
25
- configurations {
26
- deployerJars
27
- }
28
-
29
24
  // Creating sources with comments
30
25
  task androidSourcesJar(type: Jar) {
31
26
  classifier = 'sources'
32
27
  from android.sourceSets.main.java.srcDirs
33
28
  }
34
29
 
35
- // Put the androidSources and javadoc to the artifacts
36
- artifacts {
37
- archives androidSourcesJar
38
- }
39
-
40
- uploadArchives {
41
- repositories {
42
- mavenDeployer {
43
- configuration = configurations.deployerJars
44
- repository(url: mavenLocal().url)
30
+ afterEvaluate {
31
+ publishing {
32
+ publications {
33
+ release(MavenPublication) {
34
+ from components.release
35
+ // Add additional sourcesJar to artifacts
36
+ artifact(androidSourcesJar)
37
+ }
38
+ }
39
+ repositories {
40
+ maven {
41
+ url = mavenLocal().url
42
+ }
45
43
  }
46
44
  }
47
45
  }
@@ -58,7 +56,7 @@ android {
58
56
  minSdkVersion safeExtGet("minSdkVersion", 21)
59
57
  targetSdkVersion safeExtGet("targetSdkVersion", 30)
60
58
  versionCode 22
61
- versionName "12.0.1"
59
+ versionName "12.0.2"
62
60
  }
63
61
  lintOptions {
64
62
  abortOnError false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-image-picker",
3
- "version": "12.0.1",
3
+ "version": "12.0.2",
4
4
  "description": "Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.",
5
5
  "main": "build/ImagePicker.js",
6
6
  "types": "build/ImagePicker.d.ts",
@@ -45,5 +45,5 @@
45
45
  "peerDependencies": {
46
46
  "expo": "*"
47
47
  },
48
- "gitHead": "779a011c9a6a436d3e69df0f8f7d1a4703fb297a"
48
+ "gitHead": "ba24eba18bf4f4d4b0d54828992d81a2bb18246a"
49
49
  }