dependencies

Gradle could not resolve otto library

牧云@^-^@ 提交于 2019-12-10 10:36:08
问题 I try to embed Otto library, which exists at the Maven Central. buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.6.3' } } apply plugin: 'android' dependencies { compile 'com.google.android.gms:play-services:4.0.30' compile 'com.android.support:support-v13:19.0.0' compile 'com.squareup:otto:1.3.4' } But I get the exception: A problem occurred configuring root project 'sample-project'. > Failed to notify project evaluation listener. >

Gradle resolve dependecies and build/run fine but IntelliJ do not

故事扮演 提交于 2019-12-10 10:11:53
问题 I am using IntelliJ for one of my java projects. It has to build with gradle and from the command line, it works fine, both build and run. However, Intellij is not able to build and run the project. It can import the project with all the dependencies, but it gives me this error: Unable to save plugin settings: The plugin org.jetbrains.plugins.gradle failed to save settings and has been disabled. Please restart IntelliJ IDEA I have already tried all the solution on the web: removing cache

How to import Play framework as a dependency in Scala project

谁说胖子不能爱 提交于 2019-12-10 10:08:21
问题 I forked btce-scala, so I can work on a trading bot. I'm cleaning up this library by adding the normal sbt project structure, making a build.sbt, etc: ~/code/scala/btce-scala) cat build.sbt name := "btce-scala" version := "0.1" resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" scalaVersion := "2.10.3" libraryDependencies ++= Seq( "net.liftweb" % "lift-json_2.9.1" % "2.6-M2", "org.specs2" %% "specs2" % "2.3.8" % "test", "joda-time" % "joda-time" % "2.3", "org

CMake: dependency management in a multi-library package export

孤人 提交于 2019-12-10 09:31:57
问题 I have a package called MYLIBS consisting of two libraries, lib1 and lib2 , which I want to export through the configuration file for the package. The project structure is as follows: ├── Lib1 │ ├── CMakeLists.txt │ ├── lib1-class.cpp │ └── lib1-class.h ├── lib2 │ └── CMakeLists.txt │ ├── lib2-class.cpp │ ├── lib2-class.h ├── cmake │ └── LIBSConfig.cmake.in ├── CMakeLists.txt In lib2 I have: add_library(lib2 STATIC ${SOURCE_FILES} ) target_include_directories(lib2 PRIVATE /path/to/lib1)

Parallel Tasking Concurrency with Dependencies on Python like GNU Make

匆匆过客 提交于 2019-12-10 09:28:50
问题 I'm looking for a method or possibly a philosophical approach for how to do something like GNU Make within python. Currently, we utilize makefiles to execute processing because the makefiles are extremely good at parallel runs with changing single option: -j x. In addition, gnu make already has the dependency stacks built into it, so adding a secondary processor or the ability to process more threads just means updating that single option. I want that same power and flexibility in python, but

Rendering problems after updated gradle dependencies

淺唱寂寞╮ 提交于 2019-12-10 05:34:03
问题 I just updated build.gradle(Module: app) dependecies, and after that had rendering problems on Android Studio. What is wrong, before updating dependencies everythink worked correctly Here is how it is now: dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:design:23.0.0' compile 'com.android.support:appcompat-v7:23.0.0' compile 'com.google.android.gms:play-services:7.8.0' compile 'com.android.support:support-v4:23.0.0' compile 'com.android.support

Haskell how to resolve cabal error: Missing dependencies on foreign libraries?

◇◆丶佛笑我妖孽 提交于 2019-12-10 03:59:35
问题 While trying to cabal install gd I encountered the following error Configuring gd-3000.7.3... cabal: Missing dependencies on foreign libraries: * Missing (or bad) header file: gd.h * Missing C libraries: gd, png, jpeg This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). ... It says Missing C libraries: gd, png, jpeg I guess I am right if I interpret it as: the missing libraries are some unspecified version of:

Visual Studio 2008: How do I include project output as an embedded resource in another project?

浪子不回头ぞ 提交于 2019-12-10 03:49:54
问题 I have two projects in one Visual Studio 2008 solution. I'd like to use the primary output from one of the projects as an embedded resource in the other, but for the life of me I can't find any way to accomplish this. If I simply add the output file as a resource, then it doesn't seem to change when its source project is rebuilt. I even have the project dependencies/build order set up properly and this does not seem to help. Anyone have any hints for me? Thanks! 回答1: When you add an existing

Assembly Dependencies Change After Installation

懵懂的女人 提交于 2019-12-10 03:16:56
问题 I have a .NET application that seems to have some of its dependency versions change between debugging and running as an installed release app. I'll just focus on the Castle.Core assembly for my details, but the same issue occurs with a couple others as well. A NuGet package I'm using requires Castle.Core as a dependency (all cases of my issue are related to assemblies originating from NuGet, in case it matters). In Visual Studio, when I install the NuGet package with the Castle.Core

Mixing different versions of Java libraries

和自甴很熟 提交于 2019-12-10 03:11:17
问题 My project uses Java libraries that have their own dependencies (Hadoop, Jetty for example). I end up with different versions of the same dependencies, like ant 1.4.5, 1.4.6. My project may want to use ant 1.4.7. This is a small example, can get more complicated with larger dependencies like HTTP Commons. How do I get all the libraries and dependencies to play nice? Is there a way to isolate each library (Hadoop, Jetty) so they only use their dependencies? 回答1: Maven will also generally