File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' com.android.library'
3
+ id ' maven-publish'
3
4
}
4
5
5
6
android {
@@ -33,7 +34,7 @@ android {
33
34
}
34
35
externalNativeBuild {
35
36
cmake {
36
- path file(' ../../.. /CMakeLists.txt' )
37
+ path file(' ./CMakeLists.txt' )
37
38
version ' 3.18.1'
38
39
}
39
40
}
@@ -51,10 +52,23 @@ android {
51
52
}
52
53
}
53
54
55
+ repositories {
56
+ google()
57
+ mavenCentral()
58
+ }
59
+
54
60
dependencies {
55
61
implementation ' androidx.appcompat:appcompat:1.4.0'
56
62
implementation ' com.google.android.material:material:1.4.0'
57
63
testImplementation ' junit:junit:4.+'
58
64
androidTestImplementation ' androidx.test.ext:junit:1.1.3'
59
65
androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
60
- }
66
+ }
67
+
68
+ publishing {
69
+ publications {
70
+ aar(MavenPublication ) {
71
+ from components. release
72
+ }
73
+ }
74
+ }
You can’t perform that action at this time.
0 commit comments