-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
54 lines (48 loc) · 2.57 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
plugins {
id 'org.jetbrains.intellij' version '0.3.0'
}
group 'com.parser.cp'
version '1.1.4-RELEASE'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.jsoup', name: 'jsoup', version: '1.11.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.8'
}
intellij {
version '2017.3.5'
pluginName 'mind-sport'
updateSinceUntilBuild false
publish {
pluginId '10688-mind-sport'
}
getProperties()
}
patchPluginXml {
changeNotes """
<h3>Setup:</h3>
<ol>
<li>Install <a href="https://plugins.jetbrains.com/plugin/10688-mind-sport" rel="nofollow">Mind Sport - IntelliJ Plugin</a></li>
<li>Install Competitive Companion <a href="https://chrome.google.com/webstore/detail/competitive-companion/cjnmckjndlpiamhfimnnjmnckgghkjbl" rel="nofollow">Chrome Extension</a> / <a href="https://addons.mozilla.org/en-US/firefox/addon/competitive-companion/" rel="nofollow">Firefox Add-on</a></li>
<li>Clone and open <a href="https://github.com/tgvdinesh/java-template" rel="nofollow">Java Template</a></li>
</ol>
<p><em><em>NOTE:</em> This step will be removed in <a href="https://github.com/tgvdinesh/mind-sport-intellij-plugin/issues/2" rel="nofollow">future release</a></em></p>
<h3>How to use:</h3>
<ol>
<li>Keep <a href="https://github.com/tgvdinesh/java-template" rel="nofollow">Java Template</a> project open / It should be at least in recent history in IntelliJ</li>
<li>Go to <a href="https://github.com/jmerle/competitive-companion#supported-websites" rel="nofollow">Supported Competitive Programming websites's</a> problem statement</li>
<li>Click on Competitive Companion plugin on right top corner of your browser.</li>
</ol>
<p>That's it. You can start coding and click on run with <em>AppTest.runTestCases</em> as your run configuration.
What happens in the background is, your <code>io.json</code> file will be updated with the test cases.</p>
Interdependency Reference:
<ol>
<li><a href="https://github.com/tgvdinesh/mind-sport-intellij-plugin" rel="nofollow">IntelliJ Plugin</a></li>
<li><a href="https://github.com/tgvdinesh/java-template" rel="nofollow">Java project template</a> used by IntelliJ Plugin</li>
<li>Competitive Companion <a href="https://chrome.google.com/webstore/detail/competitive-companion/cjnmckjndlpiamhfimnnjmnckgghkjbl" rel="nofollow">Chrome Extension</a> / <a href="https://addons.mozilla.org/en-US/firefox/addon/competitive-companion/" rel="nofollow">Firefox Add-on</a></li>
</ol>"""
}