You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
* [Android] Check weexVersion
1. The version must have 4 sections.
2. The leading three section must be number, and the last section is odd number with or without suffix string.
* [Android] Add ignoreVersionCheck
Copy file name to clipboardExpand all lines: android/sdk/build.gradle
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,26 @@ checkstyle {
63
63
toolVersion ='6.9'
64
64
}
65
65
66
-
version = project.hasProperty('weexVersion')? project.getProperty('weexVersion') :"0.20.0.1"
66
+
version = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') :"0.20.0.1"
67
+
68
+
//Check version, the version must have 4 sections. The leading three section must be number, and the last section is odd number with or without suffix string.
69
+
if (!project.hasProperty('ignoreVersionCheck') ||!project.getProperty('ignoreVersionCheck').equals("true")) {
0 commit comments