Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit a51f4a5

Browse files
authored
Merge pull request #164 from OneSignal/fix/local_testing_instructions
Update local test instructions for maven-publish
2 parents e6a7f93 + 8979b86 commit a51f4a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ publishing {
102102
}
103103
// ## Steps to use a local copy of this plugin to test
104104
// 1. Run from root to create local package
105-
// ./gradlew uploadArchives
105+
// ./gradlew publish
106106
// 2. In <projectRoot>/build.gradle of your test project add the following to buildscript -> repositories {..}
107-
// maven { url uri('../../repo') }
108-
// 3. Update '../../repo' from above to your correct relative path
107+
// maven { url uri('file://C:\\repos\\local-plugin-repository') }
108+
// 3. Update file:// from above to your correct path
109109
// 4. Add to buildscript -> dependencies
110-
// classpath 'com.onesignal:onesignal-gradle-plugin:[0.13.2, 0.99.99]'
110+
// classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.13.2, 0.99.99]'
111111
// 5. To your app/build.gradle add
112112
// apply plugin: com.onesignal.androidsdk.GradleProjectPlugin

0 commit comments

Comments
 (0)