mirror of
				https://github.com/viq/NewsBlur.git
				synced 2025-11-01 09:09:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			83 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			83 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
buildscript {
 | 
						|
    ext.kotlin_version = '1.4.10'
 | 
						|
    repositories {
 | 
						|
        mavenCentral()
 | 
						|
        maven {
 | 
						|
            url 'https://maven.google.com'
 | 
						|
        }
 | 
						|
        jcenter()
 | 
						|
        google()
 | 
						|
    }
 | 
						|
    dependencies {
 | 
						|
        classpath 'com.android.tools.build:gradle:4.1.0'
 | 
						|
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
repositories {
 | 
						|
    mavenCentral()
 | 
						|
    maven {
 | 
						|
        url 'https://maven.google.com'
 | 
						|
    }
 | 
						|
    jcenter()
 | 
						|
    google()
 | 
						|
}
 | 
						|
 | 
						|
apply plugin: 'com.android.application'
 | 
						|
apply plugin: 'kotlin-android'
 | 
						|
apply plugin: 'checkstyle'
 | 
						|
 | 
						|
dependencies {
 | 
						|
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
 | 
						|
    implementation 'androidx.fragment:fragment-ktx:1.2.5'
 | 
						|
    implementation 'androidx.recyclerview:recyclerview:1.1.0'
 | 
						|
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
 | 
						|
    implementation 'com.squareup.okhttp3:okhttp:4.9.0'
 | 
						|
    implementation 'com.google.code.gson:gson:2.8.6'
 | 
						|
    implementation 'com.android.billingclient:billing:3.0.1'
 | 
						|
    implementation 'nl.dionsegijn:konfetti:1.2.2'
 | 
						|
    implementation 'com.github.jinatonic.confetti:confetti:1.1.2'
 | 
						|
    implementation 'com.google.android.play:core:1.8.3'
 | 
						|
}
 | 
						|
 | 
						|
android {
 | 
						|
    compileSdkVersion 29
 | 
						|
    defaultConfig {
 | 
						|
        applicationId "com.newsblur"
 | 
						|
        minSdkVersion 21
 | 
						|
        targetSdkVersion 29
 | 
						|
        versionCode 177
 | 
						|
        versionName "10.1.1"
 | 
						|
    }
 | 
						|
    compileOptions.with {
 | 
						|
        sourceCompatibility = JavaVersion.VERSION_1_8
 | 
						|
        targetCompatibility = JavaVersion.VERSION_1_8
 | 
						|
    }
 | 
						|
    android.buildFeatures.viewBinding = true
 | 
						|
 | 
						|
    sourceSets {
 | 
						|
        main {
 | 
						|
            manifest.srcFile 'AndroidManifest.xml'
 | 
						|
            java.srcDirs = ['src']
 | 
						|
            res.srcDirs = ['res']
 | 
						|
            assets.srcDirs = ['assets']
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    lintOptions {
 | 
						|
        abortOnError false
 | 
						|
    }
 | 
						|
 | 
						|
    buildTypes {
 | 
						|
        debug {
 | 
						|
            minifyEnabled false
 | 
						|
            shrinkResources false
 | 
						|
        }
 | 
						|
        release {
 | 
						|
            minifyEnabled true
 | 
						|
            shrinkResources true
 | 
						|
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 | 
						|
 |