Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove module-info.java #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
id "checkstyle"
id 'org.openjfx.javafxplugin'
id 'com.github.johnrengelman.shadow'
id 'org.gradlex.extra-java-module-info'
}

repositories {
Expand Down Expand Up @@ -39,11 +38,6 @@ java {
withSourcesJar()
}

tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release = 17
}

javafx {
version = javafx_version
modules = [ 'javafx.controls', 'javafx.web' ]
Expand Down Expand Up @@ -86,22 +80,19 @@ dependencies {
runtimeOnly "org.openjfx:javafx-media:${javafx_version}:linux"
}

extraJavaModuleInfo {
failOnMissingModuleInfo.set(false) // because of transitive dependencies

// CFR
automaticModule("net.fabricmc:cfr", "cfr")

// Vineflower
automaticModule("org.vineflower:vineflower", "org.vineflower.vineflower")
application {
mainClass = 'matcher.Main'
}

// Procyon
automaticModule("org.bitbucket.mstrobel:procyon-compilertools", "procyon.compilertools")
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release = 17
}

application {
mainModule = 'matcher'
mainClass = 'matcher.Main'
jar {
manifest {
attributes 'Automatic-Module-Name': 'matcher'
}
}

jar {
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ org.gradle.jvmargs=-Xmx2G
# Gradle Plugins
javafx_plugin_version = 0.1.0
shadow_version = 7.1.2
extra_java_module_info_version = 1.6

# Poject Properties
version = 0.1.0
Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pluginManagement {
plugins {
id 'org.openjfx.javafxplugin' version "${javafx_plugin_version}"
id 'com.github.johnrengelman.shadow' version "${shadow_version}"
id 'org.gradlex.extra-java-module-info' version "${extra_java_module_info_version}"
}
}

Expand Down
32 changes: 0 additions & 32 deletions src/main/java/module-info.java

This file was deleted.

Loading