Skip to content

Instantly share code, notes, and snippets.

@SealOfTime
Created June 30, 2020 12:36
Show Gist options
  • Save SealOfTime/547909b446d5085291d39080cdfd1b8a to your computer and use it in GitHub Desktop.
Save SealOfTime/547909b446d5085291d39080cdfd1b8a to your computer and use it in GitHub Desktop.
Не создаётся task :client:shadowJar
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
*/
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:6.0.0'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
subprojects {
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:6.0.0'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
}
project(':server'){
dependencies {
shadow project(path: ":shared", configuration: "shadow")
}
}
project(':client'){
dependencies {
shadow project(path: ":shared", configuration: "shadow")
}
}
task("compileServer"){
dependsOn ':server:shadowJar'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment