mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[idea] refactoring: extract and reuse common implementation of ExternalProductResourceUrls (IJPL-204)
It appears that IDEA Community and Ultimate use the same external URLs, so it doesn't make to have two different implementations of ExternalProductResourceUrls for them. So intellij.idea.customization.base module is introduced to define the common IntelliJIdeaExternalResourceUrls implementation. GitOrigin-RevId: 997596458fb391b7033e11a9c15851e72cfeaef1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
129eb5e3fd
commit
8149d16d1b
12
idea/customization/base/intellij.idea.customization.base.iml
Normal file
12
idea/customization/base/intellij.idea.customization.base.iml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="com.intellij.idea.customization.base" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,15 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.idea.customization.base
|
||||
|
||||
import com.intellij.platform.ide.impl.customization.BaseJetBrainsExternalProductResourceUrls
|
||||
|
||||
class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrls() {
|
||||
override val basePatchDownloadUrl: String
|
||||
get() = "https://download.jetbrains.com/idea/"
|
||||
|
||||
override val youtrackProjectId: String
|
||||
get() = "IDEA"
|
||||
|
||||
override val shortProductNameUsedInForms: String
|
||||
get() = "IDEA"
|
||||
}
|
||||
Reference in New Issue
Block a user