Skip to content

Commit 0b3f4fe

Browse files
authored
Merge pull request #117 from hhru/support-as-ladybug-242.21829.142
Support as ladybug 242.21829.142
2 parents 8f4e52c + 7f7872a commit 0b3f4fe

15 files changed

Lines changed: 193 additions & 133 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ on: [pull_request, workflow_call]
33

44
env:
55
# Link for Linux zip file from https://developer.android.com/studio/archive
6-
ANDROID_STUDIO_URL: https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.1.1.11/android-studio-2024.1.1.11-linux.tar.gz
7-
COMPILER_VERSION: 241.15989.15
6+
ANDROID_STUDIO_URL: https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.3.1.2/android-studio-2024.3.1.2-linux.tar.gz
87

98
jobs:
109
build:
@@ -25,6 +24,4 @@ jobs:
2524
- name: Build plugins
2625
run: |
2726
./gradlew buildAllPlugins \
28-
-DandroidStudioPath="$(pwd)/android-studio" \
29-
-DandroidStudioCompilerVersion="$COMPILER_VERSION" \
30-
-DandroidStudioPluginsNames="org.jetbrains.android,org.jetbrains.kotlin,com.intellij.java,org.intellij.groovy,Git4Idea,org.intellij.intelliLang"
27+
-DandroidStudioPath="$(pwd)/android-studio"

.github/workflows/release_build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ on:
77

88
env:
99
# Link for Linux zip file from https://developer.android.com/studio/archive
10-
ANDROID_STUDIO_URL: https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.1.1.11/android-studio-2024.1.1.11-linux.tar.gz
11-
COMPILER_VERSION: 241.15989.15
10+
ANDROID_STUDIO_URL: https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.2.1.9/android-studio-2024.2.1.9-linux.tar.gz
1211

1312
jobs:
1413
build:
@@ -29,9 +28,7 @@ jobs:
2928
- name: Build plugins
3029
run: |
3130
./gradlew buildAllPlugins \
32-
-DandroidStudioPath="$(pwd)/android-studio" \
33-
-DandroidStudioCompilerVersion="$COMPILER_VERSION" \
34-
-DandroidStudioPluginsNames="org.jetbrains.android,org.jetbrains.kotlin,com.intellij.java,org.intellij.groovy,Git4Idea,org.intellij.intelliLang"
31+
-DandroidStudioPath="$(pwd)/android-studio"
3532
- name: Publish plugins
3633
uses: softprops/action-gh-release@v1
3734
env:

.idea/codeStyles/Project.xml

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
1. Убедитесь, что у вас есть Intellij IDEA (минимум CE) с подключенным Plugin Dev Kit
2121
2. Склонировать проект
22-
3. Если вы скачивали Android Studio через Toolbox, или у вас не Mac OS, то вероятно вам потребуется изменить путь к локальной версии Android Studio, который указывается [вот здесь](/libraries/src/main/kotlin/ru/hh/plugins/ExternalLibrariesExtension.kt) - объект `Product.LOCAL`
22+
3. Если вы скачивали Android Studio через Toolbox, или у вас не Mac OS, то вероятно вам потребуется изменить путь к локальной версии Android Studio, который указывается [вот здесь](./libraries/src/main/kotlin/ru/hh/plugins/ExternalLibrariesExtension.kt) - объект `Product.LOCAL`
2323
4. Запустить gradle-таску `buildPlugin` в проекте нужного плагина
2424
5. Собранный zip-архив плагина можно подключить в Android Studio через `Preferences -> Plugins -> Install from disk`
2525

build-logic/idea-convention/src/main/kotlin/convention.idea-plugin-base.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111

1212
configure<IntelliJPluginExtension> {
13-
type.set("IC")
13+
type.set("AI")
1414

1515
val currentVersion = Libs.chosenIdeaVersion
1616
when (currentVersion) {

docs/geminio/geminio_support_new_android_studio.md

Lines changed: 126 additions & 61 deletions
Large diffs are not rendered by default.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ systemProp.kotlinVersion=1.9.21
1111
systemProp.detektVersion=1.23.4
1212

1313
systemProp.androidStudioPath=/Applications/Android Studio.app/Contents
14-
systemProp.androidStudioCompilerVersion=241.15989.15
14+
systemProp.androidStudioCompilerVersion=242.21829.142
1515
systemProp.androidStudioPluginsNames=org.jetbrains.android,org.jetbrains.kotlin,com.intellij.java,org.intellij.groovy,Git4Idea,org.intellij.intelliLang
1616

1717
# Opt-out flag for bundling Kotlin standard library -> https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library

libraries/src/main/kotlin/ru/hh/plugins/ExternalLibrariesExtension.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class ExternalLibrariesExtension @Inject constructor(private val provid
3131
val kotlinStdlibJdk7 = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
3232
val kotlinStdlibJdk8 = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
3333
val kotlinReflect = "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
34-
val kotlinHtml = "org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2"
34+
val kotlinHtml = "org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.3"
3535
val kotlinCompilerEmbeddable = "org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion"
3636

3737
val freemarker = "org.freemarker:freemarker:2.3.30"

plugins/hh-carnival/CHANGELOG.md

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Carnival
22

3+
## [1.10.0]
4+
5+
Support for Android Studio Ladybug | 2024.2.1 Patch 2. Older versions are not supported.
6+
37
## [1.9.0]
48

59
### Added
@@ -20,71 +24,105 @@
2024
from https://github.com/hhru/android-multimodule-plugin/pull/95 .
2125

2226
## [1.8.0]
27+
2328
### Added
29+
2430
- Support for Android Studio Jellyfish | 2023.3.1
2531

2632
## [1.7.0]
33+
2734
### Added
35+
2836
- Support for Android Studio Iguana | 2023.2.1
2937

3038
## [1.6.0]
39+
3140
### Added
41+
3242
- Support for Android Studio Hedgehog | 2023.1.1
3343

3444
## [1.5.0]
45+
3546
### Added
47+
3648
- Support for Android Studio Giraffe | 2022.3.1
3749

3850
## [1.4.0]
51+
3952
### Added
53+
4054
- Support for Android Studio Flamingo | 2022.2.1
4155

4256
## [1.3.0]
57+
4358
### Added
59+
4460
- Support for Android Studio Electric Eel | 2022.1.1
4561

4662
## [1.2.0]
63+
4764
### Added
65+
4866
- Support compilation for Android Studio Dolphin | 2021.3.1
4967

5068
## [1.1.7]
69+
5170
### Added
71+
5272
- Support for Android Studio Chipmunk | 2021.2.1
5373

5474
## [1.1.6]
75+
5576
### Added
77+
5678
- Support for Android Studio Bumblebee | 2021.1.1
5779

5880
## [1.1.5]
81+
5982
### Added
83+
6084
- Support for Android Studio Arctic Fox | 2020.3.1
6185

6286
## [1.1.4]
87+
6388
### Added
89+
6490
- [Gradle Changelog Plugin](https://github.com/JetBrains/gradle-changelog-plugin) integration.
6591
- Support for Android Studio 4.2
6692

6793
### Changed
68-
- Now we configure plugin modules with [gradle convention plugins](https://docs.gradle.org/current/samples/sample_convention_plugins.html);
94+
95+
- Now we configure plugin modules
96+
with [gradle convention plugins](https://docs.gradle.org/current/samples/sample_convention_plugins.html);
6997
- Upgrade Gradle Wrapper to `7.0`;
7098

7199
## [1.1.3]
100+
72101
### Fixed
102+
73103
- Fix bug with duplicated service.
74104

75105
## [1.1.2]
106+
76107
### Added
108+
77109
- Generate ViewModel for BaseFragment. All code was hardcoded inside plugin.
78110

79111
## [1.1.0]
112+
80113
### Changed
81-
- Remove action for generating new module - this functionality will be available through Geminio plugin.
114+
115+
- Remove action for generating new module - this functionality will be available through Geminio
116+
plugin.
82117

83118
## [1.0.0]
119+
84120
### Added
121+
85122
- Initial project release;
86123
- Action for generating new feature module;
87-
- Small actions for quick code generation: EMPTY object generator, @SerializedName annotations generator
124+
- Small actions for quick code generation: EMPTY object generator, @SerializedName annotations
125+
generator
88126
- Action for creating new JIRA issue for develop branch merge;
89127
- Lint inspections for resources;
90128
- Annotator for deprecated XML-resources.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
pluginVersion=1.9.0
1+
pluginVersion=1.10.0
22

33
pluginGroup=ru.hh.plugins
44
pluginName=hh-carnival
55

6-
pluginSinceBuild=241.15989.15
6+
pluginSinceBuild=242.21829.142

0 commit comments

Comments
 (0)