title: unityLibrary:compileDebugJavaWithJavac
body: <p>SO WHEN I CLICK BUILD PROJECT IT SAYS ZERO ERRORS BUT I STILL GET THIS</p>
  <pre><code> Executing tasks: [clean, :unityLibrary:assembleDebug, :launcher:assembleDebug] in 
      project C:\Users\mehmo\OneDrive\Documents\Game
  
  
      &gt; Configure project :launcher
       WARNING: The option 'android.enableR8' is deprecated and should not be used 
      anymore.
      It will be removed in a future version of the Android Gradle plugin, and will no 
     longer allow you to disable R8.
  
      &gt; Task :clean UP-TO-DATE
      &gt; Task :launcher:clean
      &gt; Task :launcher:preBuild UP-TO-DATE
      &gt; Task :launcher:preDebugBuild UP-TO-DATE
      &gt; Task :launcher:mergeDebugJniLibFolders
      &gt; Task :launcher:generateDebugBuildConfig
      &gt; Task :launcher:generateDebugResValues
      &gt; Task :launcher:mergeDebugNativeLibs
      &gt; Task :launcher:stripDebugDebugSymbols
   &gt; Task :launcher:copyDebugJniLibsProjectAndLocalJars
  &gt; Task :launcher:mergeDebugShaders
  &gt; Task :launcher:compileDebugShaders
  &gt; Task :launcher:generateDebugAssets
  &gt; Task :launcher:packageDebugAssets
  &gt; Task :launcher:packageDebugRenderscript NO-SOURCE
  &gt; Task :launcher:prepareLintJarForPublish UP-TO-DATE
  &gt; Task :launcher:processDebugJavaRes NO-SOURCE
  &gt; Task :launcher:processDebugManifest
  &gt; Task :launcher:mergeDebugJavaResource
  &gt; Task :unityLibrary:clean
  &gt; Task :unityLibrary:preBuild UP-TO-DATE
  &gt; Task :unityLibrary:preDebugBuild UP-TO-DATE
  &gt; Task :unityLibrary:compileDebugAidl NO-SOURCE
  &gt; Task :launcher:compileDebugAidl NO-SOURCE
  
  &gt; Task :unityLibrary:BuildIl2CppTask
  Building libil2cpp.so with AndroidToolChain
      Output directory: C:\Users\mehmo\OneDrive\Documents\Game\unityLibrary\src\main\jniLibs\armeabi-v7a
      Cache directory: C:\Users\mehmo\OneDrive\Documents\Game\unityLibrary\build\il2cpp_armeabi-v7a_Release\il2cpp_cache
  ObjectFiles: 221 of which compiled: 221
      Time Compile: 12829 milliseconds Lump_libil2cpp_vm.cpp
      Time Compile: 12407 milliseconds Il2CppInvokerTable.cpp
      Time Compile: 11982 milliseconds Unity.TextMeshPro2.cpp
      Time Compile: 11898 milliseconds Generics1.cpp
      Time Compile: 11286 milliseconds Generics.cpp
      Time Compile: 10922 milliseconds Unity.TextMeshPro3.cpp
      Time Compile: 10625 milliseconds mscorlib4.cpp
      Time Compile: 9856 milliseconds Unity.TextMeshPro4.cpp
      Time Compile: 9713 milliseconds Lump_libil2cpp_icalls.cpp
      Time Compile: 8830 milliseconds Generics10.cpp
  Total compilation time: 56052 milliseconds.
  Total link time: 2164 milliseconds.
  Cleaned up 0 object files.
  Building libil2cpp.so with AndroidToolChain
      Output directory: C:\Users\mehmo\OneDrive\Documents\Game\unityLibrary\src\main\jniLibs\arm64-v8a
      Cache directory: C:\Users\mehmo\OneDrive\Documents\Game\unityLibrary\build\il2cpp_arm64-v8a_Release\il2cpp_cache
  ObjectFiles: 221 of which compiled: 221
      Time Compile: 12777 milliseconds Lump_libil2cpp_vm.cpp
      Time Compile: 11706 milliseconds Il2CppInvokerTable.cpp
      Time Compile: 11465 milliseconds Generics1.cpp
      Time Compile: 11200 milliseconds Unity.TextMeshPro2.cpp
      Time Compile: 10710 milliseconds Generics.cpp
      Time Compile: 10155 milliseconds Unity.TextMeshPro3.cpp
      Time Compile: 9667 milliseconds Lump_libil2cpp_icalls.cpp
      Time Compile: 9315 milliseconds mscorlib4.cpp
      Time Compile: 9026 milliseconds Unity.TextMeshPro4.cpp
      Time Compile: 8415 milliseconds Generics3.cpp
  Total compilation time: 54646 milliseconds.
  Total link time: 3373 milliseconds.
  Cleaned up 0 object files.
  
  &gt; Task :unityLibrary:mergeDebugJniLibFolders
  &gt; Task :unityLibrary:compileDebugRenderscript NO-SOURCE
  &gt; Task :unityLibrary:generateDebugBuildConfig
  &gt; Task :unityLibrary:generateDebugResValues
  &gt; Task :unityLibrary:generateDebugResources
  &gt; Task :unityLibrary:packageDebugResources
  &gt; Task :unityLibrary:parseDebugLocalResources
  &gt; Task :unityLibrary:mergeDebugShaders
  &gt; Task :unityLibrary:compileDebugShaders
  &gt; Task :unityLibrary:generateDebugAssets
  &gt; Task :unityLibrary:packageDebugAssets
  &gt; Task :unityLibrary:packageDebugRenderscript NO-SOURCE
  &gt; Task :launcher:compileDebugRenderscript NO-SOURCE
  &gt; Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
  &gt; Task :launcher:generateDebugResources
  &gt; Task :unityLibrary:processDebugJavaRes NO-SOURCE
  &gt; Task :unityLibrary:processDebugManifest
  &gt; Task :unityLibrary:javaPreCompileDebug
  &gt; Task :launcher:packageDebugResources
  &gt; Task :launcher:parseDebugLocalResources
  &gt; Task :unityLibrary:mergeDebugNativeLibs
  &gt; Task :unityLibrary:stripDebugDebugSymbols
  &gt; Task :unityLibrary:copyDebugJniLibsProjectAndLocalJars
  &gt; Task :unityLibrary:mergeDebugJavaResource
  &gt; Task :unityLibrary:generateDebugRFile
  </code></pre>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Execution failed for task ':unityLibrary:compileDebugJavaWithJavac'.</li>
  </ul>
  <blockquote>
  <p>Failed to query the value of task ':unityLibrary:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
  Querying the mapped value of map(java.io.File property(org.gradle.api.file.Directory, property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, C:\Users\mehmo\OneDrive\Documents\Game\unityLibrary\build\generated\ap_generated_sources\debug\out))) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@35383760) before task ':unityLibrary:compileDebugJavaWithJavac' has completed is not supported</p>
  </blockquote>
  <ul>
  <li><p>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.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p>
  </li>
  </ul>
  <p>Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
  Use '--warning-mode all' to show the individual deprecation warnings.
  See <a href="https://docs.gradle.org/7.0.1/userguide/command_line_interface.html#sec:command_line_warnings" rel="nofollow noreferrer">https://docs.gradle.org/7.0.1/userguide/command_line_interface.html#sec:command_line_warnings</a></p>
  <p>BUILD FAILED in 1m 59s
  34 actionable tasks: 31 executed, 3 up-to-date</p>
  <p>IN DEBUG I GET THIS:</p>
  <pre><code>2021-05-19T16:15:40.480+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
  2021-05-19T16:15:40.480+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
  2021-05-19T16:15:40.480+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
  2021-05-19T16:15:40.480+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
  2021-05-19T16:15:40.480+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':unityLibrary:compileDebugJavaWithJavac'.
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] &gt; Failed to query the value of task ':unityLibrary:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    &gt; Querying the mapped value of map(java.io.File property(org.gradle.api.file.Directory, property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, C:\Users\mehmo\OneDrive\Documents\Game\unityLibrary\build\generated\ap_generated_sources\debug\out))) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@4ece53fe) before task ':unityLibrary:compileDebugJavaWithJavac' has completed is not supported
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.  Run with --scan to get full insights.
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
  </code></pre>
  <p>2021-05-19T16:15:40.481+0100 [WARN] [org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler]
  Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
  Use '--warning-mode all' to show the individual deprecation warnings.
  See <a href="https://docs.gradle.org/7.0.1/userguide/command_line_interface.html#sec:command_line_warnings" rel="nofollow noreferrer">https://docs.gradle.org/7.0.1/userguide/command_line_interface.html#sec:command_line_warnings</a></p>
  <pre><code>2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] 
  2021-05-19T16:15:40.481+0100 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 2m 1s
  </code></pre>