Skip to content

Commit

Permalink
migrate to jetpack.io
Browse files Browse the repository at this point in the history
  • Loading branch information
bevzaanton committed Feb 15, 2021
1 parent 3e7c43b commit f3a3ddd
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# built application files
*.apk
*.ap_
*.jar

# files for the dex VM
*.dex
Expand Down Expand Up @@ -38,4 +37,4 @@ android/proguard/
*.iws
.idea/
build/
.gradle
.gradle
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.2.71'
ext.kotlin_version = '1.4.30'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.novoda:bintray-release:0.8.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

plugins {
id 'maven-publish'
}

allprojects {
repositories {
google()
Expand All @@ -24,4 +28,4 @@ allprojects {

task clean(type: Delete) {
delete rootProject.buildDir
}
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Mon Feb 15 16:14:56 EET 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
31 changes: 18 additions & 13 deletions stfalconfixturer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'maven-publish'

android {
compileSdkVersion 28
Expand All @@ -9,7 +9,7 @@ android {
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
versionName "0.1"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand All @@ -21,18 +21,23 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

publish {
groupId = 'com.github.stfalcon'
artifactId = 'stfalcon-fixturer'
publishVersion = '0.1.0'
desc = 'Utility for developers and QAs what helps minimize time wasting on writing the same data for testing over and over again. \n' +
'You can write fixture in XML one time and use it for build testing. The library can autofill EditText with you fixture data.'
licences = ['Apache-2.0']
uploadName='StfalconFixturer'
website = 'https://github.com/stfalcon-studio/StfalconFixturer-android.git'
userOrg = 'bevzaanton'
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.github.stfalcon'
artifactId = 'stfalcon-fixturer'
version = '0.1'
}
}
}
}
}

dependencies {
Expand Down

0 comments on commit f3a3ddd

Please sign in to comment.