Skip to content

Commit

Permalink
fixes release jar
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardsurfer committed Jan 11, 2014
1 parent f4ed809 commit 7eb1f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ task sourcesJar(type: Jar) {
}

task jar(type: Jar) {
from 'build/classes'
from 'build/classes/release'
}

task javadocJar(type: Jar, dependsOn: "javadocRelease") {
Expand Down

6 comments on commit 7eb1f86

@chenleicpp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to import this project into eclipse?

@chenleicpp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way,I import this to my Android Studio,but not successful,say:
No such property: sonatypeUser for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer

Build file 'C:\Users\chenleicpp\Desktop\Crouton-master\library\build.gradle' line: 101

Consult IDE log for more details (Help | Show Log)

@keyboardsurfer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a local gradle.properties file that holds the information for sonatypeUser and other missing properties.

@keyboardsurfer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added more information to the README.

@chenleicpp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reply,but I cant import your project ever,my android studio version is 0.32 and a clean setup and not config any thing,then I import your project and say error,I dont know how to create gradle.properties and write what to it.I develop android use eclipse and first use android studio.

@keyboardsurfer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.