File tree Expand file tree Collapse file tree
dConnectDemoLib/dconnect-demo-lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,8 +40,11 @@ dependencies {
4040 implementation ' androidx.fragment:fragment:1.1.0'
4141}
4242
43+ def githubPropertiesFile = rootProject. file(" github.properties" )
4344def githubProperties = new Properties ()
44- githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
45+ if (githubPropertiesFile. exists()) {
46+ githubProperties. load(new FileInputStream (githubPropertiesFile))
47+ }
4548
4649def getVersionName = { ->
4750 return " 1.0.1" // Replace with version Name
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22apply plugin : ' maven-publish'
3+ def githubPropertiesFile = rootProject. file(" github.properties" )
34def githubProperties = new Properties ()
4- githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
5-
5+ if (githubPropertiesFile. exists()) {
6+ githubProperties. load(new FileInputStream (githubPropertiesFile))
7+ }
68def getVersionName = { ->
79 return " 1.0.0" // Replace with version Name
810}
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22apply plugin : ' maven-publish'
3+ def githubPropertiesFile = rootProject. file(" github.properties" )
34def githubProperties = new Properties ()
4- githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
5-
5+ if (githubPropertiesFile. exists()) {
6+ githubProperties. load(new FileInputStream (githubPropertiesFile))
7+ }
68def getVersionName = { ->
79 return " 1.0.0" // Replace with version Name
810}
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2+ def githubPropertiesFile = rootProject. file(" github.properties" )
23def githubProperties = new Properties ()
3- githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
4+ if (githubPropertiesFile. exists()) {
5+ githubProperties. load(new FileInputStream (githubPropertiesFile))
6+ }
47
58android {
69 compileSdkVersion 29
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2+ def githubPropertiesFile = rootProject. file(" github.properties" )
23def githubProperties = new Properties ()
3- githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
4+ if (githubPropertiesFile. exists()) {
5+ githubProperties. load(new FileInputStream (githubPropertiesFile))
6+ }
47
58android {
69 compileSdkVersion 29
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2+ def githubPropertiesFile = rootProject. file(" github.properties" )
23def githubProperties = new Properties ()
3- githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
4+ if (githubPropertiesFile. exists()) {
5+ githubProperties. load(new FileInputStream (githubPropertiesFile))
6+ }
47
58android {
69 compileSdkVersion 29
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2+ def githubPropertiesFile = rootProject. file(" github.properties" )
23def githubProperties = new Properties ()
3- githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
4+ if (githubPropertiesFile. exists()) {
5+ githubProperties. load(new FileInputStream (githubPropertiesFile))
6+ }
47
58android {
69 compileSdkVersion 29
You can’t perform that action at this time.
0 commit comments