Skip to content

Commit

Permalink
moving to the lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lecicdjuro committed Mar 10, 2021
1 parent 23e7530 commit 2199f69
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
22 changes: 18 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
apply plugin: 'com.android.application'
//apply plugin: 'com.android.application'
apply plugin: 'com.android.library'
apply plugin: 'maven'

android {
compileSdkVersion cfgs.compileSdkVersion

defaultConfig {
applicationId "com.luck.pictureselector"
// applicationId "com.luck.pictureselector"
minSdkVersion cfgs.minSdkVersion
targetSdkVersion cfgs.targetSdkVersion
versionCode cfgs.versionCode
Expand Down Expand Up @@ -32,11 +34,23 @@ android {
}
}

uploadArchives {
repositories.mavenDeployer {
repository(url: "http://nexus.carnegietechnologies.rs:8085/repository/android-library/") {
authentication(userName: "deployment", password: "deployment123")
pom.groupId = "com.carnegietechnologies.flutter"
pom.artifactId = "instagramGallery"
pom.version = "${cfgs.insGalleryVersion}"
}
}
}

dependencies {
implementation project(':picture_library')
implementation "androidx.appcompat:appcompat:${cfgs.version_appcompat}"
implementation "androidx.recyclerview:recyclerview:${cfgs.version_recyclerview}"
implementation "androidx.camera:camera-camera2:${cfgs.camerax_version}"
implementation "com.github.bumptech.glide:glide:${cfgs.glide_version}"
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2'
implementation("com.carnegietechnologies.flutter:pictureLibrary:7.0.2")
// implementation("com.carnegietechnologies.flutter:ucrop:7.0.2")
implementation 'com.squareup.leakcanary:leakcanary-android:2.2'
}
1 change: 1 addition & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@

#rxandroid
-dontwarn sun.misc.**
-dontwarn com.yalantis.ucrop.**
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
long producerIndex;
long consumerIndex;
Expand Down
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ buildscript {
name 'Google'
}
google()
maven { url "http://nexus.carnegietechnologies.rs:8085/repository/android-library/" }

}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.novoda:bintray-release:0.9.2'
// classpath 'com.novoda:bintray-release:0.9.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -28,6 +30,9 @@ allprojects {
url 'https://maven.google.com/'
name 'Google'
}

maven { url "http://nexus.carnegietechnologies.rs:8085/repository/android-library/" }

}
}

Expand Down
2 changes: 1 addition & 1 deletion config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ext {
versionCode : 36,
versionName : "0.7.1",
ucropVersionCode : 25,
ucropVersionName : "2.2.5-native",
// ucropVersionName : "2.2.5-native",
insGalleryVersion : "7.0.2",

//open version control
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':app', ':picture_library', ':ucrop'
include ':app'

0 comments on commit 2199f69

Please sign in to comment.