POMOcnik/lib/build.gradle
Magdalena Wojciechowska 2de61776b5 Pin
2018-12-05 11:29:07 +01:00

62 lines
1.7 KiB
Groovy

apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion '26.0.1'
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 2
versionName VERSION_NAME
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
//RippleView
compile 'com.github.traex.rippleeffect:ripple:1.3.1-OG'
//TypefaceView
compile 'com.github.omadahealth.typefaceview:typefaceview:1.5.0@aar' //TypefaceTextView
//Compat
compile 'com.android.support:support-v4:26.0.2'
compile 'com.android.support:appcompat-v7:26.0.2'
compile "com.android.support:support-v13:26.0.2"
}
repositories {
maven {
url 'https://maven.google.com'
// Alternative URL is 'https://dl.google.com/dl/android/maven2/'
}
}
//gradle clean build uploadArchives
apply from: 'https://raw.github.com/omadahealth/omada-nexus/master/gradle-mvn-push/gradle-mvn-push.gradle'
//task androidSourcesJar(type: Jar) {
// classifier = 'sources'
// from android.sourceSets.main.java.sourceFiles
//}
//artifacts {
// archives androidSourcesJar
//}
//
//apply plugin: 'maven'
//uploadArchives {
// repositories {
// mavenDeployer {
// repository(url: uri("../../omada-nexus/release"))
// snapshotRepository(url: uri("../../omada-nexus/release"))
// pom.groupId = GROUP
// pom.artifactId = POM_ARTIFACT_ID
// pom.version = VERSION_NAME
// }
// }
//}