mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -97,6 +97,7 @@ def openCVersionCode = ((@OPENCV_VERSION_MAJOR@ * 100 + @OPENCV_VERSION_MINOR@)
|
||||
println "OpenCV: " +openCVersionName + " " + project.buildscript.sourceFile
|
||||
|
||||
android {
|
||||
@OPENCV_ANDROID_NAMESPACE_DECLARATION@
|
||||
compileSdkVersion @ANDROID_COMPILE_SDK_VERSION@
|
||||
|
||||
defaultConfig {
|
||||
@@ -114,6 +115,13 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_@ANDROID_GRADLE_JAVA_VERSION_INIT@
|
||||
targetCompatibility JavaVersion.VERSION_@ANDROID_GRADLE_JAVA_VERSION_INIT@
|
||||
}
|
||||
|
||||
@ANDROID_GRADLE_BUILD_FEATURE_AIDL@
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
packagingOptions {
|
||||
|
||||
@@ -1367,7 +1367,7 @@ def sanitize_java_documentation_string(doc, type):
|
||||
indexDiff += 1
|
||||
lines[index + indexDiff] = lines[index + indexDiff][0:i] + lines[index + indexDiff][i + 1:]
|
||||
else:
|
||||
if listInd and (not line or line == "*" or line.startswith("@note")):
|
||||
if listInd and (not line or line == "*" or line.strip().startswith("@note") or line.strip().startswith("@param")):
|
||||
lines.insert(index + indexDiff, " "*len(listInd) + "</li>")
|
||||
indexDiff += 1
|
||||
del listInd[-1]
|
||||
|
||||
Reference in New Issue
Block a user