Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pseuco-ide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseuco
pseuco-ide
Commits
970d5a35
Verified
Commit
970d5a35
authored
Jan 31, 2019
by
Konstantin Kopper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java 11 support (resolves
#33
)
parent
3378fee8
Pipeline
#6509
passed with stages
in 6 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
build.gradle.kts
build.gradle.kts
+20
-8
No files found.
build.gradle.kts
View file @
970d5a35
...
...
@@ -3,6 +3,9 @@ import org.jetbrains.dokka.gradle.DokkaTask
import
org.jetbrains.dokka.gradle.LinkMapping
import
org.jetbrains.kotlin.gradle.tasks.KotlinCompile
if
(!
JavaVersion
.
current
().
isJava8Compatible
)
error
(
"Only JDK 8 or newer is supported!"
)
plugins
{
kotlin
(
"jvm"
)
version
"1.3.20"
id
(
"org.jetbrains.dokka"
)
version
"0.9.17"
...
...
@@ -27,6 +30,14 @@ dependencies {
// Coroutines
implementation
(
"org.jetbrains.kotlinx"
,
"kotlinx-coroutines-core"
,
"1.1.1"
)
// OpenJFX
if
(
JavaVersion
.
current
().
isJava11Compatible
)
{
val
javafxVersion
=
System
.
getProperty
(
"java.version"
)
?:
JavaVersion
.
current
().
majorVersion
for
(
pkg
in
listOf
(
"base"
,
"controls"
,
"fxml"
,
"graphics"
))
for
(
os
in
listOf
(
"linux"
,
"mac"
,
"win"
))
implementation
(
"org.openjfx"
,
"javafx-$pkg"
,
javafxVersion
,
classifier
=
os
)
}
// Provides RichText TextAreas. Used for code input area.
implementation
(
"org.fxmisc.richtext"
,
"richtextfx"
,
"0.9.2"
)
...
...
@@ -136,8 +147,9 @@ clean.dependsOn(removeBuildFiles)
val
compressIncludeFolder
by
tasks
.
creating
(
Zip
::
class
)
{
from
(
"lib/pseuco-java-compiler/include"
)
archiveName
=
"include.zip"
destinationDir
=
file
(
"src/main/resources"
)
archiveFileName
.
set
(
"include.zip"
)
destinationDirectory
.
set
(
file
(
"src/main/resources"
))
}
val
compressIncludeRunnerFolder
by
tasks
.
creating
(
Zip
::
class
)
{
...
...
@@ -148,8 +160,8 @@ val compressIncludeRunnerFolder by tasks.creating(Zip::class) {
}
from
(
"src/main/resources/runner"
)
archive
Name
=
"includeRunner.zip"
destinationDir
=
file
(
"src/main/resources"
)
archive
FileName
.
set
(
"includeRunner.zip"
)
destinationDir
ectory
.
set
(
file
(
"src/main/resources"
)
)
}
val
compressIncludeDebugFolder
by
tasks
.
creating
(
Zip
::
class
)
{
...
...
@@ -161,8 +173,8 @@ val compressIncludeDebugFolder by tasks.creating(Zip::class) {
}
from
(
"src/main/resources/debugger"
)
archive
Name
=
"includeDebug.zip"
destinationDir
=
file
(
"src/main/resources"
)
archive
FileName
.
set
(
"includeDebug.zip"
)
destinationDir
ectory
.
set
(
file
(
"src/main/resources"
)
)
}
processResources
.
dependsOn
(
compressIncludeFolder
)
...
...
@@ -179,8 +191,8 @@ clean.dependsOn(removeIncludeFolders)
/* --- AOP --- */
val
ajtools
by
configurations
.
creating
val
ajrt
by
configurations
.
creating
val
ajtools
:
Configuration
by
configurations
.
creating
val
ajrt
:
Configuration
by
configurations
.
creating
dependencies
{
ajtools
(
"org.aspectj"
,
"aspectjtools"
,
aspectjVersion
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment