Skip to content

Commit

Permalink
Release with JPro version 2023.2.0 (#35)
Browse files Browse the repository at this point in the history
* Upgrade JPro to the latest version `2023.2.0`

* Apply some gradle clean up formatting
  • Loading branch information
besidev authored Jun 29, 2023
1 parent a80da30 commit 6fe5e38
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 43 deletions.
54 changes: 11 additions & 43 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,61 +1,29 @@
/**
****************** Script Configuration ******************
*/
buildscript {
repositories {
jcenter()
gradlePluginPortal()

maven {
url "https://sandec.jfrog.io/artifactory/repo"
}
}

dependencies {
classpath 'one.jpro:jpro-gradle-plugin:2023.1.0'
}
}


/**
****************** Java Configuration ******************
*/
plugins {
id 'org.openjfx.javafxplugin' version '0.0.14'
id 'org.openjfx.javafxplugin' version '0.0.14'
id 'jpro-gradle-plugin'
}

compileJava {
sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 11
targetCompatibility = 11
}

repositories {
jcenter()
mavenCentral()
}

javafx {
version = '17.0.7'
modules = [ 'javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.web' ]
modules = ['javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.web']
}

/**
****************** JPro Configuration ******************
*/
apply plugin: 'jpro-gradle-plugin'

/**
* App Main Class
*/
//mainClassName = 'one.jpro.hellojpro.HelloJPro'
mainClassName = 'one.jpro.hellojpro.HelloJProFXML'

application {
mainModule = moduleName
// Define the main class for the application.
mainClassName = 'one.jpro.hellojpro.HelloJProFXML'
mainModule = moduleName
}

jpro {
JVMArgs << '-Xmx1000m'

// jpro server port
port = 8080
// jpro server port
port = 8080
}
13 changes: 13 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
buildscript {
repositories {
gradlePluginPortal()

maven {
url "https://sandec.jfrog.io/artifactory/repo"
}
}

dependencies {
classpath 'one.jpro:jpro-gradle-plugin:2023.2.0'
}
}

0 comments on commit 6fe5e38

Please sign in to comment.