mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 04:08:33 +00:00
Configure Android Studio to pickup protobuf generated sources
This commit is contained in:
parent
f95a37956c
commit
e7e7d36774
@ -14,6 +14,7 @@ apply plugin: 'com.google.protobuf'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'signing'
|
||||
apply plugin: 'witness'
|
||||
apply plugin: 'idea'
|
||||
apply from: 'witness-verifications.gradle'
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
@ -67,6 +68,12 @@ protobuf {
|
||||
}
|
||||
}
|
||||
|
||||
idea {
|
||||
module {
|
||||
generatedSourceDirs += file("${protobuf.generatedFilesBaseDir}/main/java")
|
||||
}
|
||||
}
|
||||
|
||||
def isReleaseBuild() {
|
||||
return version.contains("SNAPSHOT") == false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user