Closed Wolfy55132113 closed 2 years ago
在使用Terminal嘗試安裝的過程,在最後的gradle run的時候出現了以下錯誤
這樣有辦法解決嗎? 謝謝您!
Many thanks,
你看看跟這個link裡面的是否同一個issue https://stackoverflow.com/questions/41194484/gradle-task-run-not-found-in-root-project
如果不是的話, 可以share一下你的build.gradle嗎?
Okay! 我想順便問一下 build.gradle的位置應該要放在哪? 我的build.gradle目前是跟著這邊的載點載下來後,解壓在Downloads的裡面就沒動過了
buildscript { ext { kotlinVersion = '1.3.11' springBootVersion = '2.1.0.RELEASE' } repositories { maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } maven { url "https://repo.spring.io/milestone" } mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}") classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}") } }
apply plugin: 'idea' apply plugin: 'java' apply plugin: 'application'
sourceSets { main { java.srcDir('src/main/java') resources.srcDir('src/main/resources') java.outputDir = file('build/bin') output.resourcesDir = file('build/bin') } }
compileJava { sourceCompatibility = 1.8 targetCompatibility = 1.8 }
repositories { maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } maven { url "https://repo.spring.io/milestone" } mavenCentral() }
dependencies { testCompile( 'junit:junit:4.12' ) compile("com.jcraft:jzlib:1.1.3") compile("org.nlpcn:nlp-lang:1.7.6") compile("com.google.code.gson:gson:2.8.5") compile("commons-codec:commons-codec:1.11") compile("org.apache.httpcomponents:httpcore:4.4.6") compile("org.apache.httpcomponents:httpclient:4.5.3") compile("org.apache.httpcomponents:httpclient-cache:4.5.3") compile("org.apache.httpcomponents:httpmime:4.5.3") compile("org.apache.httpcomponents:fluent-hc:4.5.3") compile("com.univocity.parsers:univocity-parsers-2.9.1") }
mainClassName = "name.yumao.ffxiv.chn.FFXIVPatchMain"
jar { manifest { attributes( 'Main-Class': 'org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader', 'Class-Path': './ ' + configurations.compile.collect { it.getName() }.join(' '), 'Rsrc-Main-Class': mainClassName, ) } from { // zip compile jar configurations.compile.collect { it } // zip extra compile jar // configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } }
task copyLibs(type: Copy) { from configurations.compile from 'lib' into 'build/lib' }
tasks.withType(GroovyCompile) { groovyOptions.encoding = "MacRoman" }
tasks.withType(JavaCompile) { options.encoding = "UTF-8" }
目前是放在FFXIVChnTextPatch-GP-2.52 這個資料夾裡
build.gradle放在同一個地方就可以了,不需要把它放在其他地方
然後build.gradle內容應該沒有問題,你可以在gradle run
後面加--info
或者--debug
看一下有沒有多一點資料
另外,如果terminal沒有權限的話,會有類似的error,你可以參考看看
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
FAILURE: Build failed with an exception.
* What went wrong:
Task 'run' not found in root project '6.8.3'.
* Try:
Run gradle tasks to get a list of available tasks. 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
以下是 --debug 的資料
2022-01-30T14:11:33.062+0000 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: /private/var/root/.gradle/native 2022-01-30T14:11:33.127+0000 [LIFECYCLE] [org.gradle.launcher.cli.DebugLoggerWarningAction] ############################################################################# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
Debug level logging will leak security sensitive information!
https://docs.gradle.org/6.8.3/userguide/logging.html#sec:debug_security #############################################################################
2022-01-30T14:11:33.321+0000 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Executing build 5573d635-788f-48c7-b8ea-ba9d57aeb81a in daemon client {pid=10850}
2022-01-30T14:11:33.327+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface utun2
2022-01-30T14:11:33.327+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:ce81:b1c:bd2c:69e%utun2
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface utun1
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:7290:49b2:3c91:f2be%utun1
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface utun0
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:f89f:140a:7ed8:ca08%utun0
2022-01-30T14:11:33.328+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface llw0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:6469:4bff:fe60:cb60%llw0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface awdl0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:6469:4bff:fe60:cb60%awdl0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface anpi0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:9451:e7ff:fe48:3717%anpi0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface anpi2
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:9451:e7ff:fe48:3719%anpi2
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface anpi1
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:9451:e7ff:fe48:3718%anpi1
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface en0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /2a01:388:3f5:161:0:0:1:1c4%en0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:14be:4646:ca04:f0db%en0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /100.88.191.60
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface lo0
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? true
2022-01-30T14:11:33.337+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Ignoring remote address on loopback interface /fe80:0:0:0:0:0:0:1%lo0
2022-01-30T14:11:33.338+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /0:0:0:0:0:0:0:1%lo0
2022-01-30T14:11:33.338+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /127.0.0.1
2022-01-30T14:11:33.344+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2022-01-30T14:11:33.345+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2022-01-30T14:11:33.348+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2022-01-30T14:11:33.350+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Attempting to connect to [4cee704a-8917-42bb-8a7b-aceebf5d3658 port:53942, addresses:[/127.0.0.1]].
2022-01-30T14:11:33.350+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Trying to connect to address /127.0.0.1.
2022-01-30T14:11:33.355+0000 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Connected to address /127.0.0.1:53942.
2022-01-30T14:11:33.367+0000 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Connected to daemon DaemonInfo{pid=10834, address=[4cee704a-8917-42bb-8a7b-aceebf5d3658 port:53942, addresses:[/127.0.0.1]], state=Idle, lastBusy=1643551869120, context=DefaultDaemonContext[uid=4613222a-caf0-41f2-9a6b-fa77351f21f7,javaHome=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home,daemonRegistryDir=/private/var/root/.gradle/daemon,pid=10834,idleTimeout=10800000,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=GB,-Duser.language=en,-Duser.variant]}. Dispatching request Build{id=5573d635-788f-48c7-b8ea-ba9d57aeb81a, currentDir=/Users/wolfgang}.
2022-01-30T14:11:33.367+0000 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Build
2022-01-30T14:11:33.380+0000 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result org.gradle.launcher.daemon.protocol.BuildStarted@13b13b5d from daemon DaemonInfo{pid=10834, address=[4cee704a-8917-42bb-8a7b-aceebf5d3658 port:53942, addresses:[/127.0.0.1]], state=Idle, lastBusy=1643551869120, context=DefaultDaemonContext[uid=4613222a-caf0-41f2-9a6b-fa77351f21f7,javaHome=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home,daemonRegistryDir=/private/var/root/.gradle/daemon,pid=10834,idleTimeout=10800000,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=GB,-Duser.language=en,-Duser.variant]} (build should be starting).
2022-01-30T14:11:33.382+0000 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 10834). The daemon log file: /private/var/root/.gradle/daemon/6.8.3/daemon-10834.out.log
2022-01-30T14:11:33.384+0000 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting 3rd build in daemon [uptime: 59.021 secs, performance: 97%, non-heap usage: 12% of 256 MiB]
2022-01-30T14:11:33.384+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
2022-01-30T14:11:33.385+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=4613222a-caf0-41f2-9a6b-fa77351f21f7,javaHome=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home,daemonRegistryDir=/private/var/root/.gradle/daemon,pid=10834,idleTimeout=10800000,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=GB,-Duser.language=en,-Duser.variant]
2022-01-30T14:11:33.392+0000 [INFO] [org.gradle.internal.work.DefaultWorkerLeaseService] Using 8 worker leases.
2022-01-30T14:11:33.404+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for fileHashes, path /Users/wolfgang/.gradle/6.8.3/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@69e18c4
2022-01-30T14:11:33.405+0000 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Acquiring file lock for file hash cache (/Users/wolfgang/.gradle/6.8.3/fileHashes)
2022-01-30T14:11:33.405+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on file hash cache (/Users/wolfgang/.gradle/6.8.3/fileHashes).
2022-01-30T14:11:33.406+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on file hash cache (/Users/wolfgang/.gradle/6.8.3/fileHashes).
2022-01-30T14:11:33.407+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for resourceHashesCache, path /Users/wolfgang/.gradle/6.8.3/fileHashes/resourceHashesCache.bin, access org.gradle.cache.internal.DefaultCacheAccess@69e18c4
2022-01-30T14:11:33.413+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Run build' started
2022-01-30T14:11:33.414+0000 [INFO] [org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner] Watching the file system is disabled
2022-01-30T14:11:33.415+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Build started for file system watching' started
2022-01-30T14:11:33.415+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Build started for file system watching'
2022-01-30T14:11:33.416+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Build started for file system watching' completed
2022-01-30T14:11:33.416+0000 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1 started (1 worker(s) in use).
2022-01-30T14:11:33.416+0000 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker: acquired lock on root.1
2022-01-30T14:11:33.417+0000 [INFO] [org.gradle.internal.buildevents.BuildLogger] Starting Build
2022-01-30T14:11:33.417+0000 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Gradle user home: /private/var/root/.gradle
2022-01-30T14:11:33.417+0000 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Current dir: /Users/wolfgang
2022-01-30T14:11:33.417+0000 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Settings file: null
2022-01-30T14:11:33.417+0000 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Build file: null
2022-01-30T14:11:33.417+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Load build' started
2022-01-30T14:11:33.418+0000 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
2022-01-30T14:11:33.418+0000 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
2022-01-30T14:11:33.418+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Evaluate settings' started
2022-01-30T14:11:33.422+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for workingDirs, path /Users/wolfgang/.gradle/6.8.3/vcsMetadata-1/workingDirs.bin, access org.gradle.cache.internal.DefaultCacheAccess@34907fda
2022-01-30T14:11:33.423+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for md5-checksums, path /Users/wolfgang/.gradle/checksums/md5-checksums.bin, access org.gradle.cache.internal.DefaultCacheAccess@600e3f04
2022-01-30T14:11:33.424+0000 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Acquiring file lock for checksums cache (/Users/wolfgang/.gradle/checksums)
2022-01-30T14:11:33.424+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on checksums cache (/Users/wolfgang/.gradle/checksums).
2022-01-30T14:11:33.424+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on checksums cache (/Users/wolfgang/.gradle/checksums).
2022-01-30T14:11:33.425+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for sha1-checksums, path /Users/wolfgang/.gradle/checksums/sha1-checksums.bin, access org.gradle.cache.internal.DefaultCacheAccess@600e3f04
2022-01-30T14:11:33.425+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for sha256-checksums, path /Users/wolfgang/.gradle/checksums/sha256-checksums.bin, access org.gradle.cache.internal.DefaultCacheAccess@600e3f04
2022-01-30T14:11:33.425+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for sha512-checksums, path /Users/wolfgang/.gradle/checksums/sha512-checksums.bin, access org.gradle.cache.internal.DefaultCacheAccess@600e3f04
2022-01-30T14:11:33.432+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for md-supplier, path /private/var/root/.gradle/caches/6.8.3/md-supplier/md-supplier.bin, access org.gradle.cache.internal.DefaultCacheAccess@32f66a76
2022-01-30T14:11:33.432+0000 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Acquiring file lock for cache directory md-supplier (/private/var/root/.gradle/caches/6.8.3/md-supplier)
2022-01-30T14:11:33.433+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on cache directory md-supplier (/private/var/root/.gradle/caches/6.8.3/md-supplier).
2022-01-30T14:11:33.433+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on cache directory md-supplier (/private/var/root/.gradle/caches/6.8.3/md-supplier).
2022-01-30T14:11:33.435+0000 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: /var/root/.m2/repository
2022-01-30T14:11:33.436+0000 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Creating new cache for md-rule, path /private/var/root/.gradle/caches/6.8.3/md-rule/md-rule.bin, access org.gradle.cache.internal.DefaultCacheAccess@f94a710
2022-01-30T14:11:33.437+0000 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Acquiring file lock for cache directory md-rule (/private/var/root/.gradle/caches/6.8.3/md-rule)
2022-01-30T14:11:33.437+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on cache directory md-rule (/private/var/root/.gradle/caches/6.8.3/md-rule).
2022-01-30T14:11:33.437+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on cache directory md-rule (/private/var/root/.gradle/caches/6.8.3/md-rule).
2022-01-30T14:11:33.438+0000 [DEBUG] [org.gradle.internal.locking.LockFileReaderWriter] Lockfiles root: /Users/wolfgang/gradle/dependency-locks
2022-01-30T14:11:33.440+0000 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.021 secs
2022-01-30T14:11:33.441+0000 [INFO] [org.gradle.internal.buildevents.BuildLogger] Settings evaluated using settings file '/Users/wolfgang/settings.gradle'.
2022-01-30T14:11:33.443+0000 [DEBUG] [org.gradle.caching.configuration.internal.DefaultBuildCacheConfiguration] Found class org.gradle.caching.local.internal.DirectoryBuildCacheServiceFactory registered for class org.gradle.caching.local.DirectoryBuildCache
2022-01-30T14:11:33.443+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Finalize build cache configuration' started
2022-01-30T14:11:33.443+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Finalize build cache configuration'
2022-01-30T14:11:33.444+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Finalize build cache configuration' completed
2022-01-30T14:11:33.444+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Evaluate settings'
2022-01-30T14:11:33.445+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Evaluate settings' completed
2022-01-30T14:11:33.446+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Load build'
2022-01-30T14:11:33.446+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Load build' completed
2022-01-30T14:11:33.447+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Configure build' started
2022-01-30T14:11:33.448+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Load projects' started
2022-01-30T14:11:33.450+0000 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: /Users/wolfgang/gradle.properties
2022-01-30T14:11:33.451+0000 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
2022-01-30T14:11:33.451+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Load projects'
2022-01-30T14:11:33.451+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Load projects' completed
2022-01-30T14:11:33.451+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Notify projectsLoaded listeners' started
2022-01-30T14:11:33.451+0000 [INFO] [org.gradle.internal.buildevents.BuildLogger] Projects loaded. Root project using build file '/Users/wolfgang/build.gradle'.
2022-01-30T14:11:33.451+0000 [INFO] [org.gradle.internal.buildevents.BuildLogger] Included projects: [root project 'wolfgang']
2022-01-30T14:11:33.451+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Notify projectsLoaded listeners'
2022-01-30T14:11:33.451+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Notify projectsLoaded listeners' completed
2022-01-30T14:11:33.451+0000 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
2022-01-30T14:11:33.452+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Configure project :' started
2022-01-30T14:11:33.455+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Notify beforeEvaluate listeners of :' started
2022-01-30T14:11:33.455+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Notify beforeEvaluate listeners of :'
2022-01-30T14:11:33.460+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Apply plugin org.gradle.help-tasks to root project 'wolfgang'' started
2022-01-30T14:11:33.462+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :help' started
2022-01-30T14:11:33.462+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :help'
2022-01-30T14:11:33.462+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :projects' started
2022-01-30T14:11:33.462+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :projects'
2022-01-30T14:11:33.463+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :tasks' started
2022-01-30T14:11:33.463+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :tasks'
2022-01-30T14:11:33.463+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :properties' started
2022-01-30T14:11:33.464+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :properties'
2022-01-30T14:11:33.464+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :dependencyInsight' started
2022-01-30T14:11:33.464+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :dependencyInsight'
2022-01-30T14:11:33.465+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :dependencies' started
2022-01-30T14:11:33.466+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :dependencies'
2022-01-30T14:11:33.466+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :buildEnvironment' started
2022-01-30T14:11:33.466+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :buildEnvironment'
2022-01-30T14:11:33.466+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :components' started
2022-01-30T14:11:33.466+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :components'
2022-01-30T14:11:33.467+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :model' started
2022-01-30T14:11:33.467+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :model'
2022-01-30T14:11:33.467+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :dependentComponents' started
2022-01-30T14:11:33.467+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :dependentComponents'
2022-01-30T14:11:33.469+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :outgoingVariants' started
2022-01-30T14:11:33.469+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :outgoingVariants'
2022-01-30T14:11:33.469+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Apply plugin org.gradle.help-tasks to root project 'wolfgang''
2022-01-30T14:11:33.469+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :javaToolchains' started
2022-01-30T14:11:33.469+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :javaToolchains'
2022-01-30T14:11:33.470+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :prepareKotlinBuildScriptModel' started
2022-01-30T14:11:33.471+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :prepareKotlinBuildScriptModel'
2022-01-30T14:11:33.474+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Apply plugin org.gradle.build-init to root project 'wolfgang'' started
2022-01-30T14:11:33.475+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :init' started
2022-01-30T14:11:33.475+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :init'
2022-01-30T14:11:33.475+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Apply plugin org.gradle.build-init to root project 'wolfgang''
2022-01-30T14:11:33.476+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Apply plugin org.gradle.wrapper to root project 'wolfgang'' started
2022-01-30T14:11:33.477+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Register task :wrapper' started
2022-01-30T14:11:33.477+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Register task :wrapper'
2022-01-30T14:11:33.477+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Apply plugin org.gradle.wrapper to root project 'wolfgang''
2022-01-30T14:11:33.485+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Notify afterEvaluate listeners of :' started
2022-01-30T14:11:33.486+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Notify afterEvaluate listeners of :'
2022-01-30T14:11:33.452+0000 [LIFECYCLE] [org.gradle.internal.logging.progress.ProgressLoggerFactory]
2022-01-30T14:11:33.452+0000 [LIFECYCLE] [org.gradle.internal.logging.progress.ProgressLoggerFactory] > Configure project :
2022-01-30T14:11:33.452+0000 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker: acquired lock on :
2022-01-30T14:11:33.455+0000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Notify beforeEvaluate listeners of :' completed
2022-01-30T14:11:33.461+0000 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Transitioning model element '
Debug level logging will leak security sensitive information!
https://docs.gradle.org/6.8.3/userguide/logging.html#sec:debug_security #############################################################################
以下是 gradle --info 的資料
Initialized native services in: /private/var/root/.gradle/native The client will now receive all logging from the daemon (pid: 10834). The daemon log file: /private/var/root/.gradle/daemon/6.8.3/daemon-10834.out.log Starting 4th build in daemon [uptime: 2 mins 28.394 secs, performance: 95%, non-heap usage: 12% of 256 MiB] Using 8 worker leases. Watching the file system is disabled Starting Build Settings evaluated using settings file '/Users/wolfgang/settings.gradle'. Projects loaded. Root project using build file '/Users/wolfgang/build.gradle'. Included projects: [root project 'wolfgang']
Configure project : Evaluating root project 'wolfgang' using build file '/Users/wolfgang/build.gradle'. All projects evaluated. No tasks specified. Using default task 'help' Selected primary task 'help' from project : Tasks to be executed: [task ':help'] Tasks that were excluded: [] :help (Thread[Execution worker for ':',5,main]) started.
Task :help Caching disabled for task ':help' because: Build cache is disabled Task ':help' is not up-to-date because: Task has not declared any outputs despite executing actions.
Welcome to Gradle 6.8.3.
To run a build, run gradle
To see a list of available tasks, run gradle tasks
To see a list of command-line options, run gradle --help
To see more detail about a task, run gradle help --task
For troubleshooting, visit https://help.gradle.org :help (Thread[Execution worker for ':',5,main]) completed. Took 0.029 secs.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed
btw 還是開不起來...
你有在Package folder 裡面執行gradle run
嗎?看起來你是在/Users/wolfgang
裡面執行的
2022-01-30T14:11:33.417+0000 [DEBUG] [org.gradle.internal.buildevents.BuildLogger] Current dir: /Users/wolfgang
如果你package在downloads的話,你需要先執行下面的command把terminal的目錄轉到你的package,然後才執行gradle run
cd /Users/wolfgang/downloads/FFXIVChnTextPatch-GP-2.52
感覺你對terminal不太熟悉,建議你可以了解一下相關的一些操作 不然的話在terminal裡面執行一些你不熟悉的command很危險
你好,我是MAC使用者.