File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed
kotlin/com/gmail/blueboxware/libgdxplugin/utils/compat Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 9797}
9898
9999dependencies {
100- compile " org.jetbrains.kotlin:kotlin-stdlib-jdk8"
101- compile files(" ${ System.properties['java.home']} /../lib/tools.jar" )
100+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8"
101+ implementation " org.jetbrains.kotlin:kotlin-reflect"
102+ implementation files(" ${ System.properties['java.home']} /../lib/tools.jar" )
102103
103104 testCompile group : ' junit' , name : ' junit' , version : ' 4.11'
104105}
Original file line number Diff line number Diff line change 11package com.gmail.blueboxware.libgdxplugin.utils.compat
22
3+ import com.intellij.util.castSafelyTo
34import org.jetbrains.kotlin.idea.references.SyntheticPropertyAccessorReference
4- import org.jetbrains.kotlin.utils.addToStdlib.cast
55import kotlin.reflect.KProperty1
66import kotlin.reflect.full.memberProperties
77
@@ -30,7 +30,7 @@ fun SyntheticPropertyAccessorReference.isGetter(): Boolean {
3030 return this ::class
3131 .memberProperties
3232 .firstOrNull { it.name == " getter" }
33- ?.cast <KProperty1 <SyntheticPropertyAccessorReference , Boolean >>()
33+ ?.castSafelyTo <KProperty1 <SyntheticPropertyAccessorReference , Boolean >>()
3434 ?.get(this )
3535 ? : false
3636}
Original file line number Diff line number Diff line change 1818 <id >com.gmail.blueboxware.libgdxplugin</id >
1919 <!-- suppress PluginXmlCapitalization -->
2020 <name >libGDX</name >
21- <version >1.22</version >
21+ <version >1.22.1 </version >
2222 <vendor url =" https://github.com/BlueBoxWare/LibGDXPlugin" >Blue Box Ware</vendor >
2323
2424 <description ><![CDATA[
3131 ]]> </description >
3232
3333 <change-notes ><![CDATA[
34+ <b>1.22.1</b>
35+ <ul>
36+ <li>Bundle kotlin-reflect dependency.</li>
37+ </ul>
3438 <b>1.22</b>
3539 <ul>
3640 <li>Compatibility with Kotlin plugin 1.4.20+ (<a href="https://github.com/BlueBoxWare/LibGDXPlugin/issues/23">#23</a>)</li>
Original file line number Diff line number Diff line change 11ext {
22
3- pluginVersion = ' 1.22'
3+ pluginVersion = ' 1.22.1 '
44
55 kotlinVersion = ' 1.4.10'
66
77 intellijPluginVersion = ' 0.4.26'
88
99// ideaVersion = '2019.3.3'
10- ideaVersion = ' LATEST-EAP-SNAPSHOT '
10+ ideaVersion = ' 2020.2.3 '
1111
12- studioVersion = ' 193.6911.18 '
12+ studioVersion = ' 2020.1 '
1313
14- useStudio = true
14+ useStudio = false
1515 runStudio = false
1616
1717}
You can’t perform that action at this time.
0 commit comments