Created
September 15, 2013 13:22
-
-
Save jakenjarvis/6570718 to your computer and use it in GitHub Desktop.
gradleでMavenのpom.xmlのpackagingで指定されているファイル以外をdependenciesでcompileする方法 ref: http://qiita.com/jakenjarvis@github/items/02e8e2b77abf3960e892
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
compile 'com.tojc.ormlite.android:ormlite-content-provider-library:1.0.3@jar' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>com.tojc.ormlite.android</groupId> | |
<artifactId>ormlite-content-provider-library</artifactId> | |
<version>1.0.3</version> | |
<type>jar</type> <!-- or apklib --> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gradle: Execution failed for task ':TestApplication:packageDebug'. | |
> Duplicate files copied in APK AndroidManifest.xml | |
File 1: C:\Users\Jaken\AndroidStudioProjects\TestApplicationProject\TestApplication\build\libs\TestApplication-debug.ap_ | |
File 2: C:\Users\Jaken\AndroidStudioProjects\TestApplicationProject\TestApplication\build\libs\TestApplication-debug.ap_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Origin 2: C:\Users\Jaken\.gradle\caches\artifacts-26\filestore\com.tojc.ormlite.android\ormlite-content-provider-library\1.0.3\apklib\5b3fb9e6ca26b4a01166740cf513cbd8f9ac6450\ormlite-content-provider-library-1.0.3.apklib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<parent> | |
<groupId>com.tojc.ormlite.android</groupId> | |
<artifactId>ormlite-content-provider-parent</artifactId> | |
<version>1.0.3</version> | |
<relativePath>../pom.xml</relativePath> | |
</parent> | |
<artifactId>ormlite-content-provider-library</artifactId> | |
<name>Android-OrmLiteContentProvider Library</name> | |
<packaging>apklib</packaging> | |
<description>This is a library that easy to make using ContentProvider with OrmLite.</description> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment