mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Скрипты gradle, окончательно.
This commit is contained in:
parent
19ac80d449
commit
3da2951cac
8 changed files with 26 additions and 26 deletions
|
@ -24,10 +24,11 @@
|
|||
launch4j
|
||||
launch4jCJ
|
||||
bundleOnly.extendsFrom bundle
|
||||
compile.extendsFrom bundle, hikari, pack, launch4jCJ, launch4j
|
||||
compile.extendsFrom bundle, hikari, pack, launch4j
|
||||
}
|
||||
|
||||
jar {
|
||||
duplicatesStrategy = 'INCLUDE'
|
||||
dependsOn parent.childProjects.Launcher.tasks.build
|
||||
from { configurations.pack.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
from(parent.childProjects.Launcher.tasks.shadowJar.archivePath)
|
||||
|
@ -113,7 +114,7 @@ pack project(':LauncherAPI')
|
|||
compileOnlyA 'com.google.guava:guava:26.0-jre'
|
||||
compileOnlyA 'log4j:log4j:1.2.17' // Do not update (laggy dep).
|
||||
compileOnlyA 'org.apache.logging.log4j:log4j-core:2.11.2'
|
||||
testCompile 'org.junit.jupiter:junit-jupiter:5.4.1'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.1'
|
||||
}
|
||||
|
||||
task hikari(type: Copy) {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
plugins {
|
||||
id 'org.openjfx.javafxplugin' version '0.0.5'
|
||||
}
|
||||
apply plugin: 'org.openjfx.javafxplugin'
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
|
||||
String mainClassName = "pro.gravit.launcher.ClientLauncherWrapper"
|
||||
|
@ -21,7 +19,7 @@
|
|||
configurations {
|
||||
bundle
|
||||
pack
|
||||
compile.extendsFrom bundle, pack
|
||||
api.extendsFrom bundle, pack
|
||||
}
|
||||
|
||||
jar {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
targetCompatibility = '1.8'
|
||||
|
||||
dependencies {
|
||||
compile project(':LauncherCore')
|
||||
compileOnly 'io.netty:netty-codec-http:4.1.43.Final'
|
||||
testCompile 'org.junit.jupiter:junit-jupiter:5.4.1'
|
||||
api project(':LauncherCore')
|
||||
implementation 'io.netty:netty-codec-http:4.1.43.Final'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.1'
|
||||
}
|
||||
|
||||
test {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
targetCompatibility = '1.8'
|
||||
|
||||
dependencies {
|
||||
compile project(':LauncherAPI')
|
||||
compileOnly 'com.google.guava:guava:26.0-jre'
|
||||
compile files('../compat/authlib/authlib-clean.jar')
|
||||
api project(':LauncherAPI')
|
||||
implementation 'com.google.guava:guava:26.0-jre'
|
||||
api files('../compat/authlib/authlib-clean.jar')
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
apply plugin: 'java-library'
|
||||
apply plugin: 'java'
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = '1.8'
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.fusesource.jansi:jansi:1.18'
|
||||
compileOnly 'org.jline:jline:3.11.0'
|
||||
compileOnly 'org.jline:jline-reader:3.11.0'
|
||||
compileOnly 'org.jline:jline-terminal:3.11.0'
|
||||
compileOnly 'org.bouncycastle:bcprov-jdk15:1.46'
|
||||
compile 'com.google.code.gson:gson:2.8.5'
|
||||
testCompile 'org.junit.jupiter:junit-jupiter:5.4.1'
|
||||
api 'org.fusesource.jansi:jansi:1.18'
|
||||
api 'org.jline:jline:3.11.0'
|
||||
api 'org.jline:jline-reader:3.11.0'
|
||||
api 'org.jline:jline-terminal:3.11.0'
|
||||
api 'org.bouncycastle:bcprov-jdk15:1.46'
|
||||
api 'com.google.code.gson:gson:2.8.5'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.1'
|
||||
}
|
||||
|
||||
test {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
configurations {
|
||||
pack
|
||||
compile.extendsFrom pack
|
||||
api.extendsFrom pack
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '5.0.0' apply false
|
||||
id 'com.github.johnrengelman.shadow' version '5.2.0' apply false
|
||||
id 'maven-publish'
|
||||
id 'signing'
|
||||
id 'org.openjfx.javafxplugin' version '0.0.8' apply false
|
||||
}
|
||||
group = 'pro.gravit.launcher'
|
||||
version = '5.1.1-SNAPSHOT'
|
||||
|
@ -9,7 +10,7 @@
|
|||
configure(subprojects.findAll { it.name != 'modules' }) {
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'java-library'
|
||||
|
||||
group = 'pro.gravit'
|
||||
|
||||
|
@ -26,8 +27,8 @@
|
|||
aptCompileOnly
|
||||
aptOnly
|
||||
aptOnly.extendsFrom apt, aptCompileOnly
|
||||
compile.extendsFrom apt
|
||||
compileOnly.extendsFrom aptCompileOnly
|
||||
api.extendsFrom apt
|
||||
implementation.extendsFrom aptCompileOnly
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
|
|
2
modules
2
modules
|
@ -1 +1 @@
|
|||
Subproject commit fa9403131f0d3caed104d323128b241ac05ecda3
|
||||
Subproject commit d430430a83080312a420ee6b91d335b23d75c693
|
Loading…
Reference in a new issue