Skip to content

Commit

Permalink
Merge pull request #1 from NoriginMedia/petru/android-lib-updates
Browse files Browse the repository at this point in the history
update the android libs
  • Loading branch information
petrumo authored Sep 12, 2024
2 parents 91c5c86 + 9d3569a commit a595e84
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ node_modules
*.jar

build/
.gradle/
VoiceModule.iml
yarn-error.log
12 changes: 7 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ android {

buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.android.tools.build:gradle:7.3.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -51,15 +52,16 @@ buildscript {

allprojects {
repositories {
google()
jcenter()
}
}

def supportVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:${supportVersion}'
compile 'com.facebook.react:react-native:+'
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation "com.android.support:appcompat-v7:${supportVersion}"
implementation 'com.facebook.react:react-native:+'
}
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-voice",
"description": "React Native Native Voice library for iOS and Android",
"version": "0.3.0",
"version": "0.4.0",
"author": "Sam Wenke <[email protected]>",
"homepage": "https://github.com/react-native-community/react-native-voice",
"devDependencies": {
Expand Down

0 comments on commit a595e84

Please sign in to comment.