解決したいこと
https://github.com/plaidev/karte-android-sdk
こちらのプロジェクトをAndroidStudioにてクローンしました。
そこから、新しくモジュールを作成したいのですが、エラーが出てしまい作成ができません。
どなたかお力添えしていただければ幸いです。
発生している問題・エラー
FAILURE: Build failed with an exception. * Where: Script '/Users/ユーザー名/AndroidStudioProjects/karte-android-sdk/buildscripts/projectMaven.gradle' line: 2 * What went wrong: A problem occurred evaluating script. > /Users/ユーザー名/AndroidStudioProjects/karte-android-sdk/mylibrary/version (No such file or directory) * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Exception is: org.gradle.api.GradleScriptException: A problem occurred evaluating script. at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93) . . . . at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91) ... 174 more * Get more help at https://help.gradle.org BUILD FAILED in 8s
projectMaven.gradle
apply plugin: 'maven' apply plugin: 'signing' def getPropOrDefault(name, defaultValue = "") { if (project.ext.has(name)) return project.ext.get(name) return defaultValue } artifacts { archives javadocJar, sourcesJar } signing { sign configurations.archives } archivesBaseName = project.name uploadArchives { repositories { mavenDeployer { beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } def username = getPropOrDefault("ossrhUsername") def password = getPropOrDefault("ossrhPassword") repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { authentication(userName: username, password: password) } snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { authentication(userName: username, password: password) } project.makeDeployerPom(pom) } } }
あなたの回答
tips
プレビュー