Skip to content

Commit a6f45ad

Browse files
author
Flamedek
committed
Initial release
0 parents  commit a6f45ad

File tree

15 files changed

+924
-0
lines changed

15 files changed

+924
-0
lines changed

.gitignore

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
2+
# Created by https://www.gitignore.io/api/macos,windows,android,androidstudio
3+
4+
### Android ###
5+
# Built application files
6+
*.apk
7+
*.ap_
8+
9+
# Files for the ART/Dalvik VM
10+
*.dex
11+
12+
# Java class files
13+
*.class
14+
15+
# Generated files
16+
bin/
17+
gen/
18+
out/
19+
20+
# Gradle files
21+
.gradle/
22+
build/
23+
24+
# Local configuration file (sdk path, etc)
25+
local.properties
26+
27+
# Proguard folder generated by Eclipse
28+
proguard/
29+
30+
# Log Files
31+
*.log
32+
33+
# Android Studio Navigation editor temp files
34+
.navigation/
35+
36+
# Android Studio captures folder
37+
captures/
38+
39+
# Intellij
40+
*.iml
41+
.idea/workspace.xml
42+
.idea/tasks.xml
43+
.idea/gradle.xml
44+
.idea/dictionaries
45+
.idea/libraries
46+
47+
# Keystore files
48+
*.jks
49+
50+
# External native build folder generated in Android Studio 2.2 and later
51+
.externalNativeBuild
52+
53+
# Google Services (e.g. APIs or Firebase)
54+
#google-services.json
55+
56+
# Freeline
57+
freeline.py
58+
freeline/
59+
freeline_project_description.json
60+
61+
### Android Patch ###
62+
gen-external-apklibs
63+
64+
### AndroidStudio ###
65+
# Covers files to be ignored for android development using Android Studio.
66+
67+
# Built application files
68+
69+
# Files for the ART/Dalvik VM
70+
71+
# Java class files
72+
73+
# Generated files
74+
75+
# Gradle files
76+
.gradle
77+
78+
# Signing files
79+
.signing/
80+
81+
# Local configuration file (sdk path, etc)
82+
83+
# Proguard folder generated by Eclipse
84+
85+
# Log Files
86+
87+
# Android Studio
88+
/*/build/
89+
/*/local.properties
90+
/*/out
91+
/*/*/build
92+
/*/*/production
93+
*.ipr
94+
*~
95+
*.swp
96+
97+
# Android Patch
98+
99+
# External native build folder generated in Android Studio 2.2 and later
100+
101+
# NDK
102+
obj/
103+
104+
# IntelliJ IDEA
105+
*.iws
106+
/out/
107+
108+
# User-specific configurations
109+
.idea/libraries/
110+
.idea/.name
111+
.idea/compiler.xml
112+
.idea/copyright/profiles_settings.xml
113+
.idea/encodings.xml
114+
.idea/misc.xml
115+
.idea/modules.xml
116+
.idea/scopes/scope_settings.xml
117+
.idea/vcs.xml
118+
.idea/jsLibraryMappings.xml
119+
.idea/datasources.xml
120+
.idea/dataSources.ids
121+
.idea/sqlDataSources.xml
122+
.idea/dynamic.xml
123+
.idea/uiDesigner.xml
124+
125+
# Keystore files
126+
127+
# OS-specific files
128+
.DS_Store
129+
.DS_Store?
130+
._*
131+
.Spotlight-V100
132+
.Trashes
133+
ehthumbs.db
134+
Thumbs.db
135+
136+
# Legacy Eclipse project files
137+
.classpath
138+
.project
139+
140+
# Mobile Tools for Java (J2ME)
141+
.mtj.tmp/
142+
143+
# Package Files #
144+
*.jar
145+
*.war
146+
*.ear
147+
148+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
149+
hs_err_pid*
150+
151+
## Plugin-specific files:
152+
153+
# mpeltonen/sbt-idea plugin
154+
.idea_modules/
155+
156+
# JIRA plugin
157+
atlassian-ide-plugin.xml
158+
159+
# Mongo Explorer plugin
160+
.idea/mongoSettings.xml
161+
162+
# Crashlytics plugin (for Android Studio and IntelliJ)
163+
com_crashlytics_export_strings.xml
164+
crashlytics.properties
165+
crashlytics-build.properties
166+
fabric.properties
167+
168+
### AndroidStudio Patch ###
169+
# Google Services plugin
170+
171+
!/gradle/wrapper/gradle-wrapper.jar
172+
173+
### macOS ###
174+
*.DS_Store
175+
.AppleDouble
176+
.LSOverride
177+
178+
# Icon must end with two \r
179+
Icon
180+
181+
# Thumbnails
182+
183+
# Files that might appear in the root of a volume
184+
.DocumentRevisions-V100
185+
.fseventsd
186+
.TemporaryItems
187+
.VolumeIcon.icns
188+
.com.apple.timemachine.donotpresent
189+
190+
# Directories potentially created on remote AFP share
191+
.AppleDB
192+
.AppleDesktop
193+
Network Trash Folder
194+
Temporary Items
195+
.apdisk
196+
197+
### Windows ###
198+
# Windows thumbnail cache files
199+
ehthumbs_vista.db
200+
201+
# Folder config file
202+
Desktop.ini
203+
204+
# Recycle Bin used on file shares
205+
$RECYCLE.BIN/
206+
207+
# Windows Installer files
208+
*.cab
209+
*.msi
210+
*.msm
211+
*.msp
212+
213+
# Windows shortcuts
214+
*.lnk
215+
216+
# End of https://www.gitignore.io/api/macos,windows,android,androidstudio
217+
.idea/deploymentTargetDropDown.xml

.idea/jarRepositories.xml

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

.idea/kotlinc.xml

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

.run/Run IDE with Plugin.run.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Plugin" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log"/>
4+
<ExternalSystemSettings>
5+
<option name="executionName"/>
6+
<option name="externalProjectPath" value="$PROJECT_DIR$"/>
7+
<option name="externalSystemIdString" value="GRADLE"/>
8+
<option name="scriptParameters" value=""/>
9+
<option name="taskDescriptions">
10+
<list/>
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="runIde"/>
15+
</list>
16+
</option>
17+
<option name="vmOptions" value=""/>
18+
</ExternalSystemSettings>
19+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
20+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
21+
<DebugAllEnabled>false</DebugAllEnabled>
22+
<method v="2"/>
23+
</configuration>
24+
</component>

build.gradle.kts

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
plugins {
2+
id("java")
3+
id("org.jetbrains.kotlin.jvm") version "1.7.10"
4+
id("org.jetbrains.intellij") version "1.8.0"
5+
}
6+
7+
fun androidStudioPath() = properties["AndroidStudioPath"].toString()
8+
9+
group = "com.miniclip.appstudio"
10+
version = "1.0.4"
11+
12+
repositories {
13+
mavenCentral()
14+
}
15+
16+
// Configure Gradle IntelliJ Plugin
17+
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
18+
intellij {
19+
version.set("2021.3.3")
20+
type.set("IC") // Target IDE Platform
21+
// type.set("AI") // Target Android Studio
22+
pluginName.set(project.name)
23+
24+
plugins.set(listOf("android", "org.jetbrains.kotlin"))
25+
}
26+
27+
dependencies {
28+
// implementation(kotlin("reflect"))
29+
compileOnly(fileTree("lib") { include("*.jar") })
30+
compileOnly(fileTree("${androidStudioPath()}/plugins/android/lib") {
31+
include("android-base-common.jar")
32+
include("android-extensions-ide.jar")
33+
})
34+
35+
// all jars:
36+
// compileOnly(fileTree("$androidStudioPath/plugins/android/lib") { include("*.jar") })
37+
// compileOnly(fileTree("$androidStudioPath/lib") { include("*.jar") })
38+
}
39+
40+
tasks {
41+
// Set the JVM compatibility versions
42+
withType<JavaCompile> {
43+
sourceCompatibility = "11"
44+
targetCompatibility = "11"
45+
}
46+
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
47+
kotlinOptions.jvmTarget = "11"
48+
}
49+
50+
runIde {
51+
ideDir.set(file(androidStudioPath()))
52+
}
53+
54+
patchPluginXml {
55+
sinceBuild.set("213")
56+
untilBuild.set("223.*")
57+
}
58+
59+
signPlugin {
60+
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
61+
privateKey.set(System.getenv("PRIVATE_KEY"))
62+
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
63+
}
64+
65+
publishPlugin {
66+
token.set(System.getenv("PUBLISH_TOKEN"))
67+
}
68+
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AndroidStudioPath=/Applications/Android Studio.app/Contents

gradle/wrapper/gradle-wrapper.jar

59.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)