Skip to content

Commit 7815255

Browse files
[README.md] Remove instrunction on how to add MavenCentral. It's already enabled by default
1 parent b7900f5 commit 7815255

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,10 @@ Prefab support requires Android Gradle Plugin 4 or newer.
6969
[project level build.gradle](sampleapp/app/build.gradle) contains code to load the library as a dependency in Gradle.
7070
```gradle
7171
dependencies {
72-
// ...
7372
implementation 'com.viliussutkus89:tmpfile-android:3.0.4'
7473
}
7574
```
7675

77-
tmpfile-Android is distributed using [Maven Central](https://search.maven.org/artifact/com.viliussutkus89/tmpfile-android) repository.
78-
The repository needs to be added to the [top level build.gradle](sampleapp/build.gradle).
79-
```gradle
80-
allprojects {
81-
repositories {
82-
// ...
83-
mavenCentral()
84-
}
85-
}
86-
```
87-
8876
#### Linking native binaries against libtmpfile.so
8977

9078
Library is linked against in [CMake](sampleapp/app/src/main/cpp/CMakeLists.txt):
@@ -96,7 +84,6 @@ target_link_libraries(YOUR_LIBRARY_NAME tmpfile::tmpfile)
9684
Previously mentioned `find_package(tmpfile REQUIRED CONFIG)` requires Prefab feature to be enabled in [project level build.gradle](sampleapp/app/build.gradle):
9785
```groovy
9886
android {
99-
// ...
10087
buildFeatures {
10188
prefab true
10289
}

0 commit comments

Comments
 (0)