-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
91 lines (81 loc) · 3.02 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
buildscript {
ext.kotlin_version = '1.5.31'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.jetbrains.intellij" version "1.2.0"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: 'java'
apply plugin: 'kotlin'
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
group "com.codertainment"
version "1.0.0"
intellij {
pluginName='Scrcpy Controller'
updateSinceUntilBuild=false
version='IU-2020.3.1'
//intellij.localPath = project.hasProperty("StudioRunPath") ? StudioRunPath : StudioCompilePath
}
patchPluginXml {
changeNotes="""
<b>v1.0.0</b>: <br>
Add options from scrcpy v1.19 and v1.18 release: <br>
<ul>
<li>(Linux Only) Specify V4L2 device (TODO: V4L2Loopback device creation directly from this plugin/tool)</li>
<li>Display & V4L2 Buffer</li>
<li>Power off on close (displayed as "Screen off (and lock) on exit" to avoid confusion)</li>
<li>Now requires minimum IJ v2020.3+</li>
<li>Minor fixes</li>
</ul>
<br>
<b>v0.1.4</b>: <br>
<ul>
<li>Auto-select first device from the list (thanks to @rvp-diconium for the suggestion)</li>
<li>Options for scrcpy v1.17:
<ul>
<li>Added 'Forward all clicks' option</li>
<li>Added 'Use legacy paste' and 'Encoder' setting in advanced menu</li>
</ul>
</li>
<li>Minor fixes here and there</li>
</ul>
<br>
<b>v0.1.3</b>: Add option to set adb path (use only if scrcpy can't detect ADB Path) (maybe necessary for macOS)<br>
<b>v0.1.2</b>: Really fix shortcut MOD setting not working (this time I've tested it :P)<br>
<b>v0.1.1</b>: Fix Shortcut MOD setting not working<br>
<b>v0.1.0</b>: <br>
<ul>
<li>Added support for "Disable Screensaver" and "Disable repeated keys forward" from scrcpy v1.16</li>
<li>Added setting for "Shortcut Modifier" in 'Advanced Settings Menu'</li>
<li>Show scrcpy version info when testing scrcpy path from 'Advanced Settings Menu'</li>
<li>Fix USB to WiFi not working</li>
<li>Fix few more bugs</li>
</ul>
<br>
<b>v0.0.1</b>: Initial Release
"""
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "com.github.vidstige:jadb:v1.2.1"
def flexmarkVersion = '0.62.2'
implementation "com.vladsch.flexmark:flexmark:$flexmarkVersion"
implementation "com.vladsch.flexmark:flexmark-java:$flexmarkVersion"
implementation "com.vladsch.flexmark:flexmark-ext-tables:$flexmarkVersion"
}