Skip to content

Commit

Permalink
refactor!: Switch the package to use Appium2 modules (appium#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Jan 23, 2022
1 parent 809c514 commit 117c339
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m
org.gradle.jvmargs=-Xms512m -Xmx2048m -XX\:MaxPermSize\=1g -XX\:MaxMetaspaceSize\=1g
android.useAndroidX=true
6 changes: 4 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
'use strict';

const gulp = require('gulp');
const boilerplate = require('appium-gulp-plugins').boilerplate.use(gulp);
const boilerplate = require('@appium/gulp-plugins').boilerplate.use(gulp);
const DEFAULTS = require('@appium/gulp-plugins').boilerplate.DEFAULTS;
const { androidHelpers } = require('appium-android-driver');
const { fs } = require('appium-support');
const { fs } = require('@appium/support');
const path = require('path');
const B = require('bluebird');


boilerplate({
build: 'appium-uiautomator2-server',
files: DEFAULTS.files.concat('index.js'),
transpile: false,
});

Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
"clean-device": "adb uninstall io.appium.uiautomator2.server && adb uninstall io.appium.uiautomator2.server.test"
},
"devDependencies": {
"android-apidemos": "^3.2.0",
"appium-adb": "^8.0.0",
"appium-android-driver": "^4.12.0",
"appium-gulp-plugins": "^5.0.0",
"@appium/gulp-plugins": "^6.0.0",
"@appium/support": "^2.53.0",
"android-apidemos": "^4.0.0",
"appium-adb": "^9.0.0",
"appium-android-driver": "^5.0.0",
"bluebird": "^3.7.2",
"gulp": "^4.0.0"
}
}

0 comments on commit 117c339

Please sign in to comment.