Skip to content

Commit 2b5793d

Browse files
committed
Gradle modifications for example project to use library sources directly for development (commented out)
1 parent 607db34 commit 2b5793d

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

librootjava_example/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@ dependencies {
2929

3030
implementation 'eu.chainfire:libsuperuser:1.0.0.+'
3131

32-
/* Uncomment this line and commment the other one during development to use the local maven
33-
repository version, installed by the installMavenLocal Gradle task */
32+
// --- librootjava dependency ---
33+
34+
/* Use module sources directly */
35+
//implementation project(':librootjava')
36+
37+
/* Use local Maven repository version, installed by installMavenLocal Gradle task */
3438
//implementation('eu.chainfire:librootjava:1.0.0-SNAPSHOT') { changing = true }
3539

40+
/* Use bintray/jcenter version */
3641
implementation 'eu.chainfire:librootjava:1.0.0'
3742
}

librootjavadaemon_example/build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ dependencies {
2929

3030
implementation 'eu.chainfire:libsuperuser:1.0.0.+'
3131

32-
/* Uncomment these lines and commment the other ones during development to use the local maven
33-
repository version, installed by the installMavenLocal Gradle task */
32+
// --- librootjava and librootjavadaemon dependencies ---
33+
34+
/* Use module sources directly */
35+
//implementation project(':librootjava')
36+
//implementation project(':librootjavadaemon')
37+
38+
/* Use local Maven repository version, installed by installMavenLocal Gradle task */
3439
//implementation('eu.chainfire:librootjava:1.0.0-SNAPSHOT') { changing = true }
3540
//implementation('eu.chainfire:librootjavadaemon:1.0.0-SNAPSHOT') { changing = true }
3641

42+
/* Use bintray/jcenter version */
3743
implementation 'eu.chainfire:librootjava:1.0.0'
3844
implementation 'eu.chainfire:librootjavadaemon:1.0.0'
3945
}

0 commit comments

Comments
 (0)