gbl/CrowdinTranslate

1.3+1.16 build failure.

Closed this issue · 0 comments

I can't get Fabric Shield Lib 1.16 to build and it keeps saying Cannot create task ':downloadTranslations' of type 'DownloadTask' as directly extending AbstractTask is not supported. I'm not sure if my build.gradle is wrong or if there is some other issue.

Link to my build.gradle file:
https://github.com/CrimsonDawn45/Fabric-Shield-Lib/blob/dev/1.16/build.gradle

Here is my full error log I'm working on solving the second issue, but I included it just in case it's somehow related or the other issue is causing the first.

Fabric Loom: 0.7.34

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file 'D:\Workspace\Java\FSL_refactor\1.16\build.gradle' line: 22

* What went wrong:
A problem occurred evaluating root project '1.16'.
> Failed to apply plugin 'de.guntram.mcmod.crowdin-translate'.
   > Could not create task ':downloadTranslations'.
      > Cannot create task ':downloadTranslations' of type 'DownloadTask' as directly extending AbstractTask is not supported.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring root project '1.16'.
> Failed to notify project evaluation listener.
   > No 'minecraft' dependency was specified!
   > Cannot invoke "net.fabricmc.loom.configuration.providers.minecraft.MinecraftMappedProvider.getMappedJar()" because "mappingsProvider.mappedProvider" is null

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 1s