Skip to content

Commit

Permalink
Merge branch 'MOB-30327_support_for_android_studio_flamingo'
Browse files Browse the repository at this point in the history
# Conflicts:
#	plugins/hh-geminio/gradle.properties
  • Loading branch information
PStrelchenko committed May 3, 2023
2 parents 456eb0c + 5657d62 commit d6a6a6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/hh-geminio/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pluginVersion=1.5.0
pluginVersion=1.5.1

pluginGroup=ru.hh.plugins
pluginName=hh-geminio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,13 @@ private fun getHardcodedParamsMap(
}

var currentDirPackageName = targetDirectory.path.replace("/", ".")
currentDirPackageName = currentDirPackageName.substring(
currentDirPackageName.indexOf(packageName)
)
val packageNameIndex = currentDirPackageName.indexOf(packageName)
if (packageNameIndex != -1) {
currentDirPackageName = currentDirPackageName.substring(
packageNameIndex
)
}


return mapOf(
HardcodedParams.PACKAGE_NAME to packageName,
Expand Down

0 comments on commit d6a6a6b

Please sign in to comment.