Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

오픈소스 프로젝트 디펜더시 설정 #31

Closed
DohyukKim opened this issue Mar 8, 2016 · 4 comments
Closed

오픈소스 프로젝트 디펜더시 설정 #31

DohyukKim opened this issue Mar 8, 2016 · 4 comments

Comments

@DohyukKim
Copy link

안녕하세요, 안드로이드 앱 공부를 하는 학생입니다.

우연히 scalableLayout을 알게되서 살펴보려고 하는데요,

오픈소스 프로젝트에 디펜더시 설정하려고

sample_scalablelayout > build.gradle에

dependencies {
compile 'com.ssomai:android.scalablelayout:2.1.0'
}

디펜더시 설정을 했는데,

Error:No such property: nexusUsername for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer

라는 에러가 납니다. 혹시 잘못 설정한건지 궁금합니다.

감사합니다.

@ssomai
Copy link
Owner

ssomai commented Mar 8, 2016

아 그건 libraray_scalablelayout의 maven 업데이트용 코드 때문입니다 ㅎ

sample_scalablelayout > build.gradle 에서
38라인인 compile project(':library_scalablelayout')을
주석처리해보세요.

안 되면 알려주세요~

@DohyukKim
Copy link
Author

안녕하세요, 답변 감사합니다.

지금 바로 해보았는데요 그래도 같은 에러가 납니다.

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
//compile project(':library_scalablelayout') <-- 38번째 라인 주석처리
compile 'com.ssomai:android.scalablelayout:2.1.0'
compile 'com.android.support:appcompat-v7:21.0.2'

// compile 'com.jayway.android.robotium:robotium-solo:5.2.1'
}

혹시 다른 설정도 필요한지 궁금합니다.

감사합니다.

@DohyukKim
Copy link
Author

library_scalablelayout의 build.gradle파일에서
46라인 apply from: '../maven_push.gradle' 주석처리 하니까 되네요.

감사합니다

@ssomai
Copy link
Owner

ssomai commented Mar 8, 2016

오 그게 맞는 방법이었군요. ㅎ
감사합니다~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants