Skip to content

Commit 5f0f9bd

Browse files
committed
Add plugin implementation
1 parent 9f5d754 commit 5f0f9bd

File tree

11 files changed

+441
-25
lines changed

11 files changed

+441
-25
lines changed

.gitignore

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,6 @@ gradle-app.setting
3636
*.tar.gz
3737
*.rar
3838

39-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
40-
hs_err_pid*
41-
### Java template
42-
# Compiled class file
43-
*.class
44-
45-
# Log file
46-
*.log
47-
48-
# BlueJ files
49-
*.ctxt
50-
51-
# Mobile Tools for Java (J2ME)
52-
.mtj.tmp/
53-
54-
# Package Files #
55-
*.jar
56-
*.war
57-
*.nar
58-
*.ear
59-
*.zip
60-
*.tar.gz
61-
*.rar
62-
6339
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
6440
hs_err_pid*
6541
### JetBrains template
@@ -123,4 +99,4 @@ fabric.properties
12399

124100
# Editor-based Rest Client
125101
.idea/httpRequests
126-
102+
/.sandbox/

build.gradle.kts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
import org.gradle.api.tasks.wrapper.Wrapper
3+
4+
plugins {
5+
java
6+
kotlin("jvm") version "1.3.21"
7+
id("org.jetbrains.intellij") version "0.4.3"
8+
}
9+
10+
group = "ru.meanmail"
11+
version = "0.1"
12+
13+
repositories {
14+
mavenCentral()
15+
}
16+
17+
dependencies {
18+
compile(kotlin("stdlib-jdk8"))
19+
testCompile("junit", "junit", "4.12")
20+
}
21+
22+
configure<JavaPluginConvention> {
23+
sourceCompatibility = JavaVersion.VERSION_1_8
24+
}
25+
tasks.withType<KotlinCompile> {
26+
kotlinOptions.jvmTarget = "1.8"
27+
}
28+
29+
tasks.withType<Wrapper> {
30+
distributionType = Wrapper.DistributionType.ALL
31+
gradleVersion = project.properties["gradleVersion"].toString()
32+
}
33+
34+
intellij {
35+
pluginName = "Prettify python"
36+
version = "2018.3.4"
37+
setPlugins("PythonCore:2018.3.183.5429.30")
38+
}

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
gradleVersion=5.2.1
2+
org.gradle.parallel=true

gradlew

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

gradlew.bat

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

pretty-python.iml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="PLUGIN_MODULE" version="4">
3+
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/src/main/resources/META-INF/plugin.xml" />
4+
<component name="FacetManager">
5+
<facet type="Python" name="Python">
6+
<configuration sdkName="Python 3.6.3 (submission-complexity)" />
7+
</facet>
8+
</component>
9+
<component name="NewModuleRootManager" inherit-compiler-output="true">
10+
<exclude-output />
11+
<content url="file://$MODULE_DIR$">
12+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
13+
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
14+
</content>
15+
<orderEntry type="inheritedJdk" />
16+
<orderEntry type="sourceFolder" forTests="false" />
17+
<orderEntry type="library" name="Python 3.6.3 (submission-complexity) interpreter library" level="application" />
18+
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
19+
</component>
20+
</module>

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = 'prettify-python'

0 commit comments

Comments
 (0)