Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-run' into ai-pr-1
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jul 4, 2024
2 parents 06c9ec6 + d1ead33 commit 7b14e50
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ plugins {

id 'me.champeau.jmh' version '0.7.2'

id 'org.javamodularity.moduleplugin' version '1.8.15'
// This is https://github.com/java9-modularity/gradle-modules-plugin/pull/282
id 'com.github.koppor.gradle-modules-plugin' version 'jitpack-SNAPSHOT'

id 'org.openjfx.javafxplugin' version '0.1.0'

Expand Down Expand Up @@ -544,6 +545,8 @@ run {
'javafx.controls/javafx.scene.control.skin' : 'org.controlsfx.controls',
'javafx.graphics/javafx.scene' : 'org.controlsfx.controls'
]

createCommandLineArgumentFile = true
}

if (project.hasProperty('component')){
Expand Down
20 changes: 20 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
pluginManagement {
resolutionStrategy {
eachPlugin {
// Hint from https://github.com/jitpack/jitpack.io/issues/1459#issuecomment-1279851731
// Updated solution at https://github.com/foodiestudio/convention-plugins?tab=readme-ov-file#convention-plugins
if (requested.id.id.startsWith("com.github.koppor")) {
// This is https://github.com/java9-modularity/gradle-modules-plugin/pull/282
useModule("com.github.koppor:gradle-modules-plugin:jitpack-SNAPSHOT")
}
}
}

repositories {
maven {
url 'https://jitpack.io'
}
gradlePluginPortal()
}
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
Expand Down

0 comments on commit 7b14e50

Please sign in to comment.