mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 23:57:32 +00:00
Configure Android Studio to pickup protobuf generated sources
This commit is contained in:

committed by
Greyson Parrelli

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
|
||||
}
|
||||
|
Reference in New Issue
Block a user