-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5748 from microsoft/endgame-august
merge release branch into master for august 2021
- Loading branch information
Showing
1,259 changed files
with
14,814 additions
and
3,993 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
15 changes: 15 additions & 0 deletions
15
PluginsAndFeatures/azure-toolkit-for-intellij/.idea/gradle.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
654 changes: 643 additions & 11 deletions
654
PluginsAndFeatures/azure-toolkit-for-intellij/.idea/inspectionProfiles/Project_Default.xml
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
PluginsAndFeatures/azure-toolkit-for-intellij/Test/resources/records/testExistedWebApp.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
PluginsAndFeatures/azure-toolkit-for-intellij/Test/resources/records/testNewWebApp.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...atures/azure-toolkit-for-intellij/Test/resources/records/testNewWebAppWithExistedASP.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...eatures/azure-toolkit-for-intellij/Test/resources/records/testNewWebAppWithExistedRg.json
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-base/README.md
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,20 @@ | ||
# How to include a plugin module | ||
|
||
### config modules to be built by gradle | ||
|
||
config the modules to be included by `IntellijPluginModules` in [gradle.properties](./gradle.properties), and separate the modules by comma: | ||
|
||
```properties | ||
IntellijPluginModules=azure-intellij-plugin-springcloud,azure-sdk-reference-book | ||
``` | ||
|
||
### config plugin fragments to be imported by plugin | ||
|
||
config the modules to be included in [plugin.xml](./src/main/resources/META-INF/plugin.xml) | ||
|
||
```xml | ||
<xi:include href="/META-INF/azure-intellij-plugin-lib.xml" xpointer="xpointer(/idea-plugin/*)"/> | ||
<xi:include href="/META-INF/azure-sdk-reference-book.xml" xpointer="xpointer(/idea-plugin/*)"/> | ||
<xi:include href="/META-INF/azure-intellij-plugin-service-explorer.xml" xpointer="xpointer(/idea-plugin/*)"/> | ||
<xi:include href="/META-INF/azure-intellij-plugin-springcloud.xml" xpointer="xpointer(/idea-plugin/*)"/> | ||
``` |
121 changes: 121 additions & 0 deletions
121
PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-base/build.gradle
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,121 @@ | ||
plugins { | ||
id "org.jetbrains.intellij" version "0.7.2" | ||
id "io.spring.dependency-management" version "1.0.11.RELEASE" | ||
id "io.freefair.aspectj.post-compile-weaving" version "6.0.0-m2" | ||
} | ||
|
||
group 'com.microsoft.azure.toolkit' | ||
apply plugin: 'java' | ||
|
||
compileJava { | ||
sourceCompatibility = javaVersion | ||
targetCompatibility = javaVersion | ||
} | ||
|
||
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } | ||
|
||
intellij { | ||
pluginName = 'azure-intellij-plugin-base' | ||
version = intellij_version | ||
plugins = ['java', 'maven', 'maven-model', 'gradle', dep_plugins] | ||
downloadSources = Boolean.valueOf(sources) | ||
} | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
|
||
configurations { | ||
compile.exclude module: 'slf4j-api' | ||
compile.exclude module: 'log4j' | ||
compile.exclude module: 'stax-api' | ||
} | ||
|
||
dependencies { | ||
compile 'com.microsoft.azure:azure-toolkit-auth-lib:0.11.0' | ||
compile 'com.microsoft.azure:azure-toolkit-ide-common-lib:0.11.0' | ||
compile 'io.projectreactor:reactor-core:3.4.5' | ||
|
||
compile project(':azure-intellij-plugin-lib') | ||
compile project(':azure-intellij-plugin-service-explorer') | ||
|
||
def modules = IntellijPluginModules.split(",") | ||
modules.each { m -> | ||
compile project(':' + m) | ||
} | ||
|
||
aspect 'com.microsoft.azure:azure-toolkit-common-lib:0.11.0', { | ||
exclude group: "com.squareup.okhttp3", module: "okhttp" | ||
exclude group: "com.squareup.okhttp3", module: "okhttp-urlconnection" | ||
exclude group: "com.squareup.okhttp3", module: "logging-interceptor" | ||
} | ||
} | ||
|
||
|
||
gradle.taskGraph.whenReady { graph -> | ||
def hasRootRunTask = graph.hasTask(':runIde') | ||
|
||
if (hasRootRunTask) { | ||
graph.getAllTasks().each { task -> | ||
// look for *:runIde | ||
def subRunTask = (task.path =~ /:.+:runIde/) | ||
if (subRunTask) { | ||
println "TRACER skipping ${task.path} because ':runIde' was specified" | ||
task.enabled = false | ||
} | ||
} | ||
} | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'java' | ||
apply plugin: 'io.freefair.aspectj.post-compile-weaving' | ||
|
||
sourceCompatibility = javaVersion | ||
targetCompatibility = javaVersion | ||
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } | ||
group = 'com.microsoft.azure.toolkit' | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
|
||
apply plugin: 'org.jetbrains.intellij' | ||
intellij { | ||
version = intellij_version | ||
updateSinceUntilBuild = false | ||
downloadSources = Boolean.valueOf(sources) | ||
} | ||
|
||
dependencyManagement { | ||
imports { | ||
mavenBom 'com.microsoft.azure:azure-toolkit-libs:0.11.0' | ||
mavenBom 'com.microsoft.azure:azure-toolkit-ide-libs:0.11.0' | ||
} | ||
} | ||
|
||
dependencies { | ||
compileOnly 'org.jetbrains:annotations:21.0.1' | ||
// https://mvnrepository.com/artifact/org.projectlombok/lombok | ||
compileOnly 'org.projectlombok:lombok:1.18.20' | ||
annotationProcessor 'org.projectlombok:lombok:1.18.20' | ||
|
||
compile 'com.microsoft.azure:azure-toolkit-common-lib:0.11.0', { | ||
exclude group: "com.squareup.okhttp3", module: "okhttp" | ||
exclude group: "com.squareup.okhttp3", module: "okhttp-urlconnection" | ||
exclude group: "com.squareup.okhttp3", module: "logging-interceptor" | ||
} | ||
|
||
aspect 'com.microsoft.azure:azure-toolkit-common-lib:0.11.0', { | ||
exclude group: "com.squareup.okhttp3", module: "okhttp" | ||
exclude group: "com.squareup.okhttp3", module: "okhttp-urlconnection" | ||
exclude group: "com.squareup.okhttp3", module: "logging-interceptor" | ||
} | ||
} | ||
} | ||
wrapper() { | ||
gradleVersion = '6.5' | ||
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip" | ||
} |
13 changes: 13 additions & 0 deletions
13
PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-base/gradle.properties
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,13 @@ | ||
javaVersion=11 | ||
org.gradle.jvmargs='-Duser.language=en' | ||
sources=true | ||
intellij_version=IC-2021.1 | ||
dep_plugins=org.intellij.scala:2021.1.15 | ||
applicationinsights.key=57cc111a-36a8-44b3-b044-25d293b8b77c | ||
updateVersionRange=true | ||
patchPluginXmlSinceBuild=211.6693.14 | ||
IntellijPluginBase=.. | ||
IntellijPluginModules=azure-intellij-plugin-springcloud | ||
org.gradle.configureondemand=true | ||
org.gradle.parallel=true | ||
org.gradle.daemon=true |
Binary file added
BIN
+57.3 KB
...s/azure-toolkit-for-intellij/azure-intellij-plugin-base/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
...-toolkit-for-intellij/azure-intellij-plugin-base/gradle/wrapper/gradle-wrapper.properties
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,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.