{"action":"closed","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/478","repository_url":"https://api.github.com/repos/bytedeco/javacv","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/478/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/478/events","html_url":"https://github.com/bytedeco/javacv/issues/478","id":171009617,"number":478,"title":"Gradle dependency doesn't work","user":{"login":"flaghacker","id":7887115,"avatar_url":"https://avatars.githubusercontent.com/u/7887115?v=3","gravatar_id":"","url":"https://api.github.com/users/flaghacker","html_url":"https://github.com/flaghacker","followers_url":"https://api.github.com/users/flaghacker/followers","following_url":"https://api.github.com/users/flaghacker/following{/other_user}","gists_url":"https://api.github.com/users/flaghacker/gists{/gist_id}","starred_url":"https://api.github.com/users/flaghacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaghacker/subscriptions","organizations_url":"https://api.github.com/users/flaghacker/orgs","repos_url":"https://api.github.com/users/flaghacker/repos","events_url":"https://api.github.com/users/flaghacker/events{/privacy}","received_events_url":"https://api.github.com/users/flaghacker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bytedeco/javacv/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-13T13:48:48Z","updated_at":"2016-08-13T22:59:34Z","closed_at":"2016-08-13T22:59:34Z","body":"I tried adding javacv as a dependency to my gradle project, this is my full build.gradle file: \r\n\r\n```\r\nplugins {\r\n    id 'com.github.johnrengelman.shadow' version '1.2.3'\r\n}\r\napply plugin: 'java'\r\napply plugin: 'maven'\r\n\r\n\r\nrepositories {\r\n    jcenter()\r\n    mavenCentral()\r\n}\r\n\r\njar {\r\n    def mainClass = 'Main'\r\n\r\n    manifest {\r\n        attributes('Main-Class': mainClass)\r\n    }\r\n}\r\n\r\ndependencies {\r\n    compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'\r\n    compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'\r\n\r\n    compile group: 'org.bytedeco', name: 'javacv', version: '1.2'\r\n}\r\n```\r\n\r\nand this is the resulting error:\r\n\r\n```\r\n>gradlew build\r\n:compileJava\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not resolve all dependencies for configuration ':compile'.\r\n> Could not find javacpp-presets-Windows 8.1-amd64.jar (org.bytedeco:javacpp-presets:1.2).\r\n  Searched in the following locations:\r\n      https://jcenter.bintray.com/org/bytedeco/javacpp-presets/1.2/javacpp-presets-1.2-Windows 8.1-amd64.jar\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 7.728 secs\r\n```\r\n\r\nAm I doing something wrong or is there an issue with javacv? Thanks!"}}
{"actor":{"display_login":"saudet"}}