-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mob 39328 support android studio koala (#111)
* [MOB-39328] Переносит изменения из #87 с небольшими доработками -- осуществляет переход на новую версию UI DSL в Geminio * [MOB-39328] Поднятие версии Geminio и значения pluginSinceBuild для Geminio * [MOB-39328] Переносит изменения из #88 с небольшими доработками -- осуществляет переход на новый UI DSL в Garcon * [MOB-39328] Поднимает версию Garcon и указывает новую версию pluginSinceBuild * [MOB-39328] Переносит изменения из #88 с небольшими доработками -- осуществляет переход на новый UI DSL в Garcon * [MOB-39328] Переносит изменения из #89 с небольшими доработками -- осуществляет переход на новый UI DSL в Carnival * [MOB-39328] Поднимает версию Carnival и версию pluginSinceBuild * [MOB-39328] Меняем версию компилятора для сборки плагинов в gradle.properties и скриптах Github Actions * [MOB-39328] Коммитит забытые файлы * [MOB-39328] Заменяет URL на скачивание нужной версии Android Studio в скриптах Github Actions * [MOB-39328] Исправляет замечания detekt * [MOB-39328] Переносит изменения из #95 с небольшими доработками -- исправляет замечания IDE по ActionUpdateThread * [MOB-39328] Переносит изменения из #96 с небольшими доработками -- исправляет компиляцию тестов Geminio * [MOB-39328] Исправляет замечания detekt * [MOB-39328] Переносит изменения из #110 с небольшими доработками -- позволяет менять sourceSet и название папки с кодом для поддержки создания модулей в KMP-проектах * [MOB-39328] Исправляет множество IDE-замечаний по всему проекту * [MOB-39328] Добавляет комментариев в changelog каждого плагина
- Loading branch information
1 parent
02bf395
commit 8f4e52c
Showing
73 changed files
with
920 additions
and
800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
pluginVersion=1.8.0 | ||
pluginVersion=1.9.0 | ||
|
||
pluginGroup=ru.hh.plugins | ||
pluginName=hh-carnival | ||
|
||
pluginSinceBuild=212.5712.43 | ||
|
||
pluginSinceBuild=241.15989.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
plugins/hh-carnival/src/main/kotlin/ru/hh/android/plugin/config/CarnivalSettingsFormState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package ru.hh.android.plugin.config | ||
|
||
import com.intellij.util.text.CharArrayCharSequence | ||
import ru.hh.android.plugin.core.model.jira.JiraDevelopmentTeam | ||
import ru.hh.android.plugin.core.model.jira.JiraSettings | ||
|
||
internal class CarnivalSettingsFormState( | ||
var pluginFolderDirPath: String = "", | ||
var enableDebugMode: Boolean = false, | ||
var jiraHostname: String = "", | ||
var jiraUsername: String = "", | ||
var jiraPassword: ClearableCharArray, | ||
var jiraDevelopmentTeam: JiraDevelopmentTeam = JiraDevelopmentTeam.MOBILE_CORE | ||
) { | ||
|
||
constructor( | ||
pluginConfig: CarnivalPluginConfig, | ||
jiraSettings: JiraSettings | ||
) : this( | ||
pluginFolderDirPath = pluginConfig.pluginFolderDirPath, | ||
enableDebugMode = pluginConfig.isDebugEnabled, | ||
jiraHostname = jiraSettings.hostName, | ||
jiraUsername = jiraSettings.username, | ||
jiraPassword = ClearableCharArray(jiraSettings.password), | ||
jiraDevelopmentTeam = pluginConfig.jiraDevelopmentTeam | ||
) | ||
|
||
class ClearableCharArray(vararg chars: Char) : CharArrayCharSequence(*chars) { | ||
|
||
constructor(chars: CharSequence) : this( | ||
*CharArray(chars.length, chars::get) | ||
) | ||
|
||
fun clear() { | ||
myChars.fill('\u0000', myStart, myEnd) | ||
} | ||
|
||
fun charsNewCopy(): CharArray = myChars.copyOf() | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.