File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,13 +63,23 @@ android {
6363 prefabPublishing true
6464 }
6565
66+ buildTypes {
67+ release {
68+ minifyEnabled false
69+ }
70+ }
71+
6672
6773 prefab {
6874 " op-server" {
6975 headers " ${ project.buildDir} /headers/op-server/"
7076 }
7177 }
7278
79+ lintOptions {
80+ disable " GradleCompatible"
81+ }
82+
7383 packagingOptions {
7484 excludes = [
7585 " META-INF" ,
@@ -91,17 +101,6 @@ android {
91101 ]
92102 }
93103
94- buildTypes {
95- release {
96- minifyEnabled false
97- }
98- }
99-
100- lint {
101- disable " GradleCompatible"
102- abortOnError false
103- }
104-
105104 compileOptions {
106105 sourceCompatibility JavaVersion . VERSION_1_8
107106 targetCompatibility JavaVersion . VERSION_1_8
@@ -128,3 +127,12 @@ dependencies {
128127 implementation " com.facebook.react:react-android"
129128 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
130129}
130+
131+ tasks. register(' prepareHeaders' , Copy ) {
132+ from(' ../cpp' )
133+ include " **/*.h" , " **/*.hpp"
134+ into " ${ project.buildDir} /headers/op-server/op-engineering_op-server/"
135+ includeEmptyDirs = false
136+ }
137+
138+ preBuild. dependsOn(prepareHeaders)
You can’t perform that action at this time.
0 commit comments